Expressive gRPC client and server with pluggable encoding, allowing use of custom encoders/decoders (e.g., JSON) instead of protobuf. Version 1.3.0 is the latest stable release. It provides a minimal, Koa/Mali-like API for defining RPC methods and middleware. Designed for scenarios where switching from HTTP to gRPC while keeping existing encoding is desired. Limited scope and not heavily maintained.
npm install gerpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a gRPC server and client using JSON encoding, demonstrates method registration and calling.
Evaluate if the library meets your requirements before adopting.
Clone or copy objects if you need to modify them without affecting other handlers.
Ensure request objects are non-primitive if mutation is needed.
Use `import { client } from 'gerpc'` instead of `import gerpc from 'gerpc'`.Register the server method with `server.method(name, handler)` before starting the server.
No dependency data recorded yet.