Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
human-signals
Human-friendly process signals
restore-cursor
Gracefully restore the CLI cursor on exit
exit-hook
Run some code when the process exits
async-exit-hook
Run some code when the process exits (supports async hooks and pm2 clustering)
node-cleanup
installs custom cleanup handlers that run on exiting node
death
Gracefully cleanup when termination signals are sent to your process.
@moebius/http-graceful-shutdown
Gracefully terminates HTTP servers in Node.js
loading-cli
Terminal loading effect.
@esm2cjs/human-signals
Human-friendly process signals. This is a fork of ehmicky/human-signals, but with CommonJS support.
@ladjs/graceful
Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.
node-graceful-shutdown
Gracefully shutdown your modular NodeJS application
diehard
Gracefully clean up your program at termination with multiple sync and/or async handlers. Wraps the `death` npm module.
@scg82/exit-hook
Execute a callback when the process exits, passing the exit code (ESM/CJS)
@firanorg/mollitia-molestias-accusamus
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
run-in-separate-pgrp
Launch a console command in a newly created foreground process group
exits
Run arbitrary functions & commands asynchronously before process termination, programatically or via CLI
@darkobits/adeiu
Yet another POSIX signal handler.
@dramaorg/delectus-culpa-reprehenderit
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
@digicat/termination-manager
The one true way of terminating services
exit-hook-plus
Do something before the program exits or when the program crashes!