59 packages found
Gracefully restore the CLI cursor on exit
Terminate a Node.js Process based on the Process ID
Run some code when the process exits
Minimal async jobs utility library, with streams support
Fabulously kill processes. Cross-platform.
Execute custom cleanup function before Node.js exits
Gracefully cleanup when termination signals are sent to your process.
Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.
Run some code when the process exits (supports async hooks and pm2 clustering)
A powerful package for gracefully shutting down NestJS applications
- graceful shutdown
- http shutdown
- http terminate
- View more
Zero dependencies, gracefully terminates HTTP(S) server.
Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
- control flow
- View more
Execute a callback when the process exits, passing the exit code (ESM/CJS)
Easily add listeners to signals sent to the running process
Cross-platform kill command. Supports recusive/tree-kill in a synchronous manner.
onDeath() will register callbacks to call right before your Node.js program terminates.
shutdown(8) for Koishi.
A simple npm package to help you identify and terminate processes using specific ports on your system.
Graceful process exit manager. allows waiting on multiple async services.
- graceful exit
Simple wrapper for process.exit