ocpp-rpc

JSON →
library 2.2.1 ·javascript
verified Jun 7, 2026

A client and server implementation of the WAMP-like RPC-over-WebSocket system defined in the OCPP-J protocols (OCPP1.6J, OCPP2.0.1J, OCPP2.1). Version 2.2.1 supports Node.js >=17.3.0, ships TypeScript types, and offers features like authentication, strict validation, automatic reconnection with exponential backoff, keep-alive pings, graceful shutdown, and support for OCPP security profiles 1-3. It is designed specifically for Node.js (not browser-compatible). Differentiates from generic WebSocket RPC libraries by being tailored to OCPP subprotocols, providing built-in schema validation, and handling OCPP-specific authentication flows.