@nathapp/nestjs-health
v3.3.0
Published
First-party health-check aggregator for NestJS: unifies cache/prisma/queue health behind @nestjs/terminus and exposes liveness/readiness probes
Readme
@nathapp/nestjs-health
Health-check aggregator for NestJS. Unifies the per-subsystem isHealthy() checks
exposed by @nathapp/nestjs-cache, @nathapp/nestjs-prisma, and
@nathapp/nestjs-queue behind @nestjs/terminus,
and exposes Kubernetes-grade liveness and readiness HTTP probes.
Design
- Built on
@nestjs/terminus(v11HealthIndicatorServiceAPI). - Named adapter checks (
CacheHealthCheck,PrismaHealthCheck,QueueHealthCheck) map each source package's health shape into terminus. The three source packages are optional peer dependencies, bound by the consumer via injection tokens, so this package installs and boots standalone. GenericHealthCheckwraps any custom{ isHealthy() }source.HealthModule.register({ liveness, readiness })wires per-probe indicator arrays and a controller exposingGET /health/liveandGET /health/ready.
See docs/superpowers/specs/2026-07-07-nestjs-health-design.md.
