websocket-framed
JSON →Framed WebSocket Communication library for Node.js and browser (version 1.2.9, last updated 2023). It wraps WebSocket messages in a frame data structure (fid, rid, type, data) and supports three serialization codecs: JSON, CBOR, and MsgPack. This enables complex data serialization, type annotation, and request/response correlation. The library is lightweight (<5KB), has zero runtime dependencies, and works with standard WebSocket API. It is available as CommonJS only, with no ESM or TypeScript type definitions. Release cadence is low; the last release was in 2023.
Traffic · last 30 days stale · no recent hits
total hits 7
actors 1 distinct systems
last hit 22d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇪🇸 Spain
Resources
packagewebsocket-framed ↗