kaput

Zero-config graceful shutdown

Graceful shutdown
without the pain

Stop writing 50+ lines of shutdown boilerplate. One import. Zero config. It just works.

import '@joint-ops/kaput' ; // That's it

Install with your favorite package manager

$ npm install @joint-ops/kaput

Zero Config

Auto-detects HTTP servers, databases, and queues. Just import and go.

Production Ready

Kubernetes-friendly health checks. Handles edge cases you didn't think of.

Works Everywhere

Express, Fastify, Prisma, Redis, BullMQ, Mongoose, Knex and more.