A lightweight gRPC health check implementation using @grpc/grpc-js (v1.3.0). Provides a simple way to implement the standard gRPC health checking protocol for Node.js services. Compatible with gRPC health probes like Kubernetes liveness/readiness checks. Uses the stable @grpc/grpc-js library (not the deprecated grpc package). Release cadence is irregular; last update was 2 years ago.
npm install ametnisiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a gRPC health check server on localhost:50051 and logs a message on start. Handles graceful shutdown on SIGINT.
npm install @grpc/grpc-js@^1.4.0
Update instantiation: new HealthCheckClient({ url: 'localhost:50051', credentials: creds })Replace 'healthCheckStatus' with 'HealthCheckStatus'
npm install @grpc/grpc-js
Use 'import { HealthCheckServer } from 'ametnisi'' instead of require()Use { url: 'http://localhost:50051' } or just 'localhost:50051' if using the object config