Search results

1000+ packages found

when you want to fire an event no matter how a process exits.

published version 4.1.0, 2 years ago3033 dependents licensed under $ISC
541,258,221

Human-friendly process signals

published version 8.0.1, 3 months ago1328 dependents licensed under $Apache-2.0
330,718,748

Gracefully restore the CLI cursor on exit

published version 5.1.0, a year ago1444 dependents licensed under $MIT
252,490,224

A replacement for process.exit that ensures stdio are fully drained before exiting.

published version 0.1.2, 12 years ago1274 dependents
132,620,788

Make unhandled promise rejections fail hard right away instead of the default silent fail

published version 2.1.0, 6 years ago581 dependents licensed under $MIT
51,303,411

Execute a function on exit without leaking memory, allowing all objects to be garbage collected

published version 2.1.2, 2 years ago50 dependents licensed under $MIT
37,337,295

Make unhandled promise rejections fail loudly instead of the default silent fail

published version 2.2.0, 6 years ago356 dependents licensed under $MIT
20,730,953

Run some code when the process exits

published version 4.0.0, 2 years ago344 dependents licensed under $MIT
16,370,428

Enter/exit a state

published version 2.0.2, 3 years ago53 dependents licensed under $MIT
11,153,794

Execute code when the js-process exits. On all javascript-environments

published version 2.4.1, 2 years ago25 dependents licensed under $Apache-2.0
9,387,420

Spawn a dependent child process.

published version 11.0.0, 6 months ago15 dependents licensed under $MIT
8,039,689

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

published version 2.0.1, 8 years ago343 dependents licensed under $MIT
7,535,210

installs custom cleanup handlers that run on exiting node

published version 2.1.2, 8 years ago196 dependents licensed under $MIT
6,404,023

Cleanly exit process on EPIPE

published version 1.0.1, 8 years ago116 dependents licensed under $Apache-2.0
6,324,165

Execute a function right before the process, or the browser's tab, is about to exit.

published version 2.1.4, 5 months ago30 dependents licensed under $MIT
4,194,051

A replacement for process.exit that ensures stdio are fully drained before exiting.

published version 0.2.2, 6 months ago5 dependents licensed under $MIT
993,011

exiting a node.js process *and flushing stdout and stderr*

published version 1.1.2, 4 years ago48 dependents licensed under $MPL-2.0
1,137,098

Fabulously kill processes. Cross-platform.

published version 9.0.0, 2 years ago213 dependents licensed under $MIT
869,509

Exit your process, gracefully (if possible)

published version 2.2.0, 5 months ago59 dependents licensed under $MIT
620,690

Exit,close,kill,shutdown app completely for React Native on iOS and Android.

published version 2.0.0, 2 years ago12 dependents licensed under $MIT
196,422