{"library":"vue-native-websocket","type":"library","category":null,"description":"Vue.js 2 plugin that provides native WebSocket integration, with optional Vuex store support for reactive state management. Latest version 2.0.15, stable but in maintenance mode (last release 2020). Key differentiator: simple API using Vue.use() with automatic reconnection, JSON formatting, and Vuex mutation-based event handling. Compared to alternatives like vue-socket.io, this uses native WebSocket (no Socket.IO dependency) and is lighter, but lacks modern features like ESM exports or Vue 3 support.","language":"javascript","status":"maintenance","version":"2.0.15","tags":["javascript","vuejs","socket","vue","websocket","realtime","flux","vuex","redux"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install vue-native-websocket","imports":["import VueNativeSock from 'vue-native-websocket'","Vue.use(VueNativeSock, 'ws://localhost:9090', { store: store })","this.$socket.send('message')"]},{"cmd":"yarn add vue-native-websocket","imports":[]},{"cmd":"pnpm add vue-native-websocket","imports":[]}],"homepage":"https://github.com/nathantsoi/vue-native-websocket#readme","github":"https://github.com/nathantsoi/vue-native-websocket","docs":null,"changelog":null,"pypi":null,"npm":"vue-native-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}