{"library":"xy-websocket","type":"library","category":null,"description":"Simple protocol for awaitable RPC calls and events over WebSocket connections. Current stable version is 1.14.1, with regular updates. Key differentiators: built-in RPC with automatic promise resolution, event broadcasting to all/single clients, and error handling that passes exceptions across the wire. Supports both server and client usage with a straightforward API. Compared to raw WebSocket or socket.io, it provides a higher-level abstraction for request-response patterns without heavy framework dependencies.","language":"javascript","status":"active","version":"1.14.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install xy-websocket","imports":["import { createServer } from 'xy-websocket'","import { createClient } from 'xy-websocket'","import type { Server } from 'xy-websocket'"]},{"cmd":"yarn add xy-websocket","imports":[]},{"cmd":"pnpm add xy-websocket","imports":[]}],"homepage":"https://github.com/xylogistics/xy-websocket#readme","github":"https://github.com/xylogistics/xy-websocket","docs":null,"changelog":null,"pypi":null,"npm":"xy-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}