{"library":"ws-wrapper","type":"library","category":null,"description":"Lightweight, isomorphic WebSocket wrapper that adds named events, Promise-based request/response, channels, streaming, and cancellation on top of native WebSockets. Version 4.3.1 supports Node.js >=14, browsers, and Go. Unlike Socket.IO, it uses the native WebSocket protocol with no HTTP polling fallback, keeping the wire protocol simple and interoperable. Ships TypeScript types. Under 4 KB min+gzip.","language":"javascript","status":"active","version":"4.3.1","tags":["javascript","websocket","ws","event","handling","channels","request","namespace","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ws-wrapper","imports":["import { SocketWrapper } from 'ws-wrapper'","import { Channel } from 'ws-wrapper'","import { createServer } from 'ws-wrapper'"]},{"cmd":"yarn add ws-wrapper","imports":[]},{"cmd":"pnpm add ws-wrapper","imports":[]}],"homepage":"https://github.com/bminer/ws-wrapper#readme","github":"https://github.com/bminer/ws-wrapper","docs":null,"changelog":null,"pypi":null,"npm":"ws-wrapper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}