> For the complete documentation index, see [llms.txt](https://docs.microservice-stack.com/introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.microservice-stack.com/introduction/nest-libraries/health.md).

# Health

{% embed url="<https://www.npmjs.com/package/@microservice-stack/nest-health>" %}

{% embed url="<https://github.com/FurlanLuka/microservice-stack/tree/main/libs/nest-health>" %}

This library provides a module that adds a `/health` endpoint to your nest service. This endpoint can be used for Kubernetes health checks.

```typescript
import { Module } from '@nestjs/common';
import { HealthModule } from '@microservice-stack/nest-health';

@Module({
  imports: [HealthModule],
})
export class AppModule {}
```
