on-shutdown
A lightweight, zero-dependency Node.js utility for registering graceful shutdown handlers.
on-exit-leak-free
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
@purinton/signals
Graceful shutdown signal handler utility for Node.js (ESM and CommonJS)
shutdown-handler
Gives the ability to execute code upon closing a Node.js application.