{"library":"vue-native-websocket-vue3","type":"library","category":null,"description":"A WebSocket plugin for Vue 3 with optional Vuex or Pinia integration. Current stable version is 3.1.8. It provides out-of-the-box support for connecting to a WebSocket server, handling events (onopen, onclose, onerror, onmessage, reconnect, reconnect_error), and integrates with Vuex or Pinia for state management. Differentiators include built-in heartbeat mechanism to prevent connection drops, customizable mutation/action names for store integration, and TypeScript support. Released relatively stable with infrequent updates.","language":"javascript","status":"active","version":"3.1.8","tags":["javascript","vuejs","socket","vue","websocket","realtime","flux","vuex","pinia","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install vue-native-websocket-vue3","imports":["import VueNativeSock from 'vue-native-websocket-vue3'","app.use(VueNativeSock, 'ws://localhost:8080', { store })","import { useWebSocket } from 'vue-native-websocket-vue3'"]},{"cmd":"yarn add vue-native-websocket-vue3","imports":[]},{"cmd":"pnpm add vue-native-websocket-vue3","imports":[]}],"homepage":"https://github.com/likaia/vue-native-websocket-vue3#readme","github":"https://github.com/likaia/vue-native-websocket-vue3","docs":null,"changelog":null,"pypi":null,"npm":"vue-native-websocket-vue3","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}