json-rpc2

JSON →
library 2.0.0 ·javascript
verified Jun 7, 2026

JSON-RPC 2.0 server and client library supporting HTTP, TCP, and WebSocket transports for Node.js. Version 2.0.0 (latest) uses native EventEmitter and enforces RFC-compliant request id types (String, Number, or null). Released under MIT license with moderate maintenance cadence. Differentiators include simple API, built-in authentication for TCP sockets, class extension via ES5Class mixins, and WebSocket support out of the box. Requires Node >= 10.