A gRPC library for Node.js designed to simplify building microservices with gRPC. Version 3.3.0 is the latest stable release. It provides utilities for server and client creation, middleware support, error handling, and service registry integration. Unlike bare gRPC, it offers higher-level abstractions such as automatic reconnection, health checks, and load balancing. Release cadence is irregular. Key differentiators include built-in observability hooks and declarative service definitions.
npm install node-grpc-microservice-kitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows server and client creation using a protobuf definition, async call with API key auth.
Use ESM imports (import) or downgrade to v2.x for CommonJS.
Ensure proto files are accessible and protoPath points to correct file.
Use 'apiKey' parameter or pass credentials via 'interceptors'.
Pass 'healthCheck: true' to server options.
Update calls to include optional parameters correctly.
Run 'npm install node-grpc-microservice-kit' and ensure 'type': 'module' in package.json for ESM projects.
Switch to ESM imports: 'import { createServer } from 'node-grpc-microservice-kit''.Ensure proto file exists at specified path and use absolute path if necessary.
Verify server is started on correct address/port and check network connectivity.