A simple wrapper for gRPC client in Node.js (v0.1.4, last release 2016). It provides a fluent API to load proto files and make gRPC calls with promise-based responses. Minimal maintenance; only one release. Simpler than @grpc/grpc-js but outdated and not actively supported.
npm install grpc-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize gRPC client, load a proto file, and make a unary RPC call with promise handling.
Replace with @grpc/grpc-js which is actively maintained.
Migrate to @grpc/grpc-js which is pure JS and works with Node >= 8.
Ensure headers are passed as an object with array values.
Run npm install grpc-client --save
Use var gc = new grpcClient(options);
Verify the 'dir' option points to the correct folder containing .proto files.