websocket-rpc-client

JSON →
library 0.2.0 ·javascript
verified Jun 7, 2026

A lightweight JavaScript library implementing JSON-RPC 2.0 over WebSockets, providing promise-based request/response handling and event subscription. Version 0.2.0 is the latest, with no clear release cadence. Designed for browser environments, it offers automatic reconnection with configurable timeout and retry count. Compared to alternatives like json-rpc-ws or isomorphic-wsrpc, this library provides a simple static API and built-in reconnect logic, but lacks TypeScript types and has no recent updates.