Search results

837 packages found

Human-friendly process signals

published version 8.0.1, a month ago1317 dependents licensed under $Apache-2.0
274,703,048

Gracefully restore the CLI cursor on exit

published version 5.1.0, 9 months ago1438 dependents licensed under $MIT
203,895,858

Run some code when the process exits

published version 4.0.0, 2 years ago340 dependents licensed under $MIT
12,452,815

Run some code when the process exits (supports async hooks and pm2 clustering)

published version 2.0.1, 8 years ago340 dependents licensed under $MIT
7,137,298

installs custom cleanup handlers that run on exiting node

published version 2.1.2, 8 years ago197 dependents licensed under $MIT
5,639,165

Gracefully cleanup when termination signals are sent to your process.

published version 1.1.0, 8 years ago302 dependents
905,513

Gracefully terminates HTTP servers in Node.js

published version 1.1.0, 7 years ago22 dependents licensed under $MIT
170,141

Terminal loading effect.

published version 1.1.2, a year ago226 dependents licensed under $MIT
67,424

Human-friendly process signals. This is a fork of ehmicky/human-signals, but with CommonJS support.

published version 5.0.0, 2 years ago1 dependents licensed under $Apache-2.0
60,186

Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.

published version 4.2.0, 4 months ago8 dependents licensed under $MIT
37,015

Gracefully shutdown your modular NodeJS application

published version 1.1.5, 2 years ago20 dependents licensed under $MIT
19,687

Gracefully clean up your program at termination with multiple sync and/or async handlers. Wraps the `death` npm module.

published version 1.5.2, 8 years ago12 dependents
2,793

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

published version 10.13.142, 6 months ago0 dependents licensed under $MIT
2,007

Execute a callback when the process exits, passing the exit code (ESM/CJS)

published version 3.4.1, 2 years ago2 dependents licensed under $MIT
1,679

[![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

published version 3.5.94, 9 months ago0 dependents licensed under $MIT
1,180

Launch a console command in a newly created foreground process group

published version 1.2.1, 5 months ago0 dependents licensed under $MIT
1,015

Run arbitrary functions & commands asynchronously before process termination, programatically or via CLI

published version 2.0.1, 6 years ago4 dependents licensed under $MIT
602

Yet another POSIX signal handler.

published version 0.5.0, 2 months ago6 dependents licensed under $Hippocratic
644

Do something before the program exits or when the program crashes!

published version 0.2.0, 4 years ago0 dependents licensed under $MIT
300

Agnostic JS framework that empowers devs to focus on quickly building apps, rather than focusing on application config, health-checks, application structure, or architecture to build a 12 factor app in Docker.

published version 2.2.1, a year ago4 dependents licensed under $MIT
281