A Node.js gRPC client library that provides round-robin load balancing across multiple server endpoints. Version 1.5.0 is the latest stable release. It simplifies connecting to gRPC services by auto-loading .proto files and exposing a simple exec() function for RPC calls. Differentiators include built-in load balancing and minimal setup, though it lacks advanced features like health checking or retry logic present in grpc-js. The library appears to be in maintenance mode with no recent updates.
npm install grpc-sdk-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates initializing the gRPC client with a .proto file and multiple servers, then making an RPC call wrapped in a Promise for async/await usage.
Migrate to '@grpc/grpc-js' or use 'grpc-js' based client.
Use unique method names within a service or manage multiple clients.
Wrap in a Promise manually: new Promise((resolve, reject) => rpc.exec(...))
Use __dirname + '/relative/path/to/auth.proto' or absolute path.
Ensure the package name (e.g., 'auth_rpc') matches the 'package' line in .proto, and service name (e.g., 'CheckAuth') matches exactly.
Ensure you require('grpc-sdk-client') and call init() before exec(). Check for errors during init.