{"library":"websocket-stream","type":"library","category":null,"description":"websocket-stream provides an interface to WebSockets using the Node.js Streams API, allowing developers to pipe data directly to and from a WebSocket connection. It is designed to work seamlessly in both Node.js environments and modern browsers that support WebSockets, making it a versatile tool for real-time applications. The current stable version is 5.5.2, with minor and patch releases occurring periodically, indicating active maintenance. Key differentiators include its adherence to the Node.js Streams API for managing WebSocket data, offering a familiar and composable interface compared to directly manipulating `WebSocket` instances. It integrates well with server-side WebSocket libraries like `ws` and can be used with frameworks such as Express via `express-ws`, streamlining the creation of full-duplex communication channels.","language":"javascript","status":"active","version":"5.5.2","tags":["javascript","websocket","websockets","stream","streams","realtime"],"last_verified":"Wed May 27","install":[{"cmd":"npm install websocket-stream","imports":["import websocket from 'websocket-stream'","import websocket from 'websocket-stream'; websocket.createServer(...)","import websocketStream from 'websocket-stream/stream'"]},{"cmd":"yarn add websocket-stream","imports":[]},{"cmd":"pnpm add websocket-stream","imports":[]}],"homepage":null,"github":"https://github.com/maxogden/websocket-stream","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/websocket-stream","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/websocket-stream/compatibility"}}