Search results

969 packages found

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

published version 4.1.0, 2 years ago2859 dependents licensed under $ISC
596,287,621

Human-friendly process signals

published version 8.0.1, 4 months ago1228 dependents licensed under $Apache-2.0
362,149,619

Gracefully restore the CLI cursor on exit

published version 5.1.0, a year ago1299 dependents licensed under $MIT
284,630,497

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

published version 0.1.2, 12 years ago1158 dependents
150,123,122

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

published version 2.1.0, 6 years ago514 dependents licensed under $MIT
56,921,302

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

published version 2.1.2, 2 years ago42 dependents licensed under $MIT
39,070,778

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

published version 2.2.0, 6 years ago295 dependents licensed under $MIT
27,409,503

Run some code when the process exits

published version 4.0.0, 2 years ago335 dependents licensed under $MIT
20,660,685

Enter/exit a state

published version 2.0.2, 3 years ago39 dependents licensed under $MIT
13,016,066

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

published version 0.2.2, 7 months ago7 dependents licensed under $MIT
10,152,798

Spawn a dependent child process.

published version 11.0.0, 7 months ago15 dependents licensed under $MIT
8,295,653

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

published version 2.4.1, 3 years ago23 dependents licensed under $Apache-2.0
10,013,857

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

published version 2.0.1, 8 years ago331 dependents licensed under $MIT
8,112,233

Cleanly exit process on EPIPE

published version 1.0.1, 8 years ago112 dependents licensed under $Apache-2.0
6,744,440

installs custom cleanup handlers that run on exiting node

published version 2.1.2, 9 years ago179 dependents licensed under $MIT
6,404,369

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

published version 2.1.4, 6 months ago30 dependents licensed under $MIT
5,682,286

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,220,550

Fabulously kill processes. Cross-platform.

published version 9.0.0, 2 years ago181 dependents licensed under $MIT
861,600

Exit your process, gracefully (if possible)

published version 2.2.0, 6 months ago61 dependents licensed under $MIT
643,877

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,201