TypeScript implementation of the gRPC health checking protocol (defined in grpc/grpc-proto). Version 1.0.2 provides generated ProtoBuf service definitions and a ready-to-use server/client for health checks. It replaces the outdated grpc-ts-health-check package and is compatible with the modern @grpc/grpc-js library. Unlike the predecessor, it does not depend on the deprecated grpc package and is fully typed for TypeScript projects. The package is minimal and focuses solely on the standard gRPC health check service (Check and Watch RPCs).
npm install grpc-health-check-tsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a gRPC server using @grpc/grpc-js that implements the health check service. The server responds with SERVING status on both Check and Watch RPCs.
Use dynamic import() or switch to ESM.
Provide your own Check and Watch handlers as shown in quickstart.
Use grpc-health-check-ts instead.
Manually define missing types or wrap calls with any.
Uninstall grpc.ts.health.check and install grpc-health-check-ts. Update your imports to use @grpc/grpc-js.
Use server.addService(health.service, ...) as shown in quickstart.
No dependency data recorded yet.