hard-rejection
Make unhandled promise rejections fail hard right away instead of the default silent fail
when-exit
Execute a function right before the process, or the browser's tab, is about to exit.
loud-rejection
Make unhandled promise rejections fail loudly instead of the default silent fail
catch-exit
Catch Node.js exit conditions, including errors and unhandled rejections.
cross-exit
Gracefully terminate a script in Node.js or browsers.