{"library":"json-rpc-ws","type":"library","category":null,"description":"A WebSocket transport library for JSON-RPC that enables asynchronous bidirectional requests and responses over WebSocket connections. Version 7.0.1 supports Node.js and browser environments via separate entry points. It provides a simple API with server and client creation, method exposure, and callback-based request/response handling. Key differentiators: uses the popular 'ws' library for Node, supports both server and client in one package, and offers a lightweight abstraction over raw WebSocket messaging.","language":"javascript","status":"active","version":"7.0.1","tags":["javascript","json-rpc","websocket"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install json-rpc-ws","imports":["import * as JsonRpcWs from 'json-rpc-ws'","const server = JsonRpcWs.createServer()","const client = JsonRpcWs.createClient()"]},{"cmd":"yarn add json-rpc-ws","imports":[]},{"cmd":"pnpm add json-rpc-ws","imports":[]}],"homepage":"https://github.com/andyet/json-rpc-ws#readme","github":"ssh://git@github.com/andyet/json-rpc-ws","docs":null,"changelog":null,"pypi":null,"npm":"json-rpc-ws","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}