ws-wrapper
JSON →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.
Resources
packagews-wrapper ↗