{"library":"websocket-framed","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.2.9","tags":["javascript","websocket","frame","message"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install websocket-framed","imports":["const WebSocketFramed = require('websocket-framed')"]},{"cmd":"yarn add websocket-framed","imports":[]},{"cmd":"pnpm add websocket-framed","imports":[]}],"homepage":"https://github.com/rse/websocket-framed","github":"https://github.com/rse/websocket-framed","docs":null,"changelog":null,"pypi":null,"npm":"websocket-framed","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}