gRPC helper is an improved gRPC client for grpc-node, providing promised unary and client stream calls, client load balancing, service health checking, service discovery (static, DNS SRV), circuit breaker based on Brakes, retry based on async-retry, and Prometheus metrics via prom-client. Version 0.5.1 targets Node >=4, ships TypeScript types, and is released under MIT. It differentiates from raw grpc-node by offering higher-level abstractions, load balancing, and integrated resilience patterns.
npm install grpc-helperNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a gRPC helper client with static service discovery, waits for connection, and makes a unary call.
Install grpc: npm install grpc
Use correct format like 'static://host1:port1,host2:port2' or 'dns://_grpc._tcp.service?intervalMs=5000'
Always await helper.waitForReady() before invoking methods.
Upgrade Node.js to LTS version.
Use: import { GRPCHelper } from 'grpc-helper'Run: npm install grpc
Use absolute path with path.resolve(__dirname, 'relative/path/to/proto')
Provide URI like 'static://host:port' or 'dns://...'