js-rpc2

JSON →
library 2.6.1 ·javascript
verified Jun 7, 2026

A lightweight RPC library for JavaScript/TypeScript enabling client-server communication over HTTP and WebSocket. Supports strings, binary data, objects, arrays, and callbacks for progress feedback. Current stable version is 2.6.1. Integrates with Koa router for server-side setup. Ships TypeScript definitions. Differentiated by simple API and broad data type support, including Uint8Array.