jtlapp

jtlapp/node-cleanup

installs custom cleanup handlers that run on exiting node

JavaScript
166
9
MIT License

`node-cleanup` is a Node.js module that installs custom cleanup handlers to run before the process exits, supporting normal exits, errors, and specific POSIX signals like SIGINT, SIGHUP, SIGQUIT, and SIGTERM. It allows multiple subsystems to install handlers, supports asynchronous cleanup, and provides customizable error messages for Ctrl-C and uncaught exceptions. This tool is ideal for developers needing reliable resource cleanup and process termination management in Node.js applications.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of jtlapp/node-cleanup

Account's avatar
Simple implmentation of Stream.Readable and Stream.Writable holding the data in memory.

Support the repos that depend on this repository

Top contributors

jtlapp's profile
jtlapp
15 contributions
OmgImAlexis's profile
OmgImAlexis
1 contributions
huan's profile
huan
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet