{"library":"rpc-websocket-client","type":"library","category":null,"description":"Fast JSON-RPC 2.0 WebSocket client written in TypeScript. Version 1.1.4 is the latest stable release (no recent updates). It provides async-await Promise-based RPC calls and notifications over WebSocket with automatic unique request IDs generated by uuid/v1. Key differentiators: lightweight, close-to-metal design for performance, optional noRpc() mode to skip JSON-RPC overhead, and ability to attach to an existing WebSocket instance (useful with Apollo GraphQL or REST libraries). Focuses on simplicity and TypeScript support, unlike alternatives like rpc-websockets which lack TypeScript declarations. Suitable for Node.js (>=6) and modern browsers with WebSocket.","language":"javascript","status":"active","version":"1.1.4","tags":["javascript","websocket","client","typescript","json rpc","2.0","fast"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rpc-websocket-client","imports":["import { RpcWebSocketClient } from 'rpc-websocket-client'","import type { RpcResponse } from 'rpc-websocket-client'","import { RpcError } from 'rpc-websocket-client'"]},{"cmd":"yarn add rpc-websocket-client","imports":[]},{"cmd":"pnpm add rpc-websocket-client","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"rpc-websocket-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}