Run some code when the process exits
Terminal loading effect.
An easy way to hook process.exit().
Deprecated, use async-exit-hook instead
Quit an application in OS X
onDeath() will register callbacks to call right before your Node.js program terminates.
Register callbacks to call when application exits
Gracefully restore the CLI cursor on exit
Try his best to cleanly stop a process you spawned.
Quit Hyper on macOS when last window closes
On error, quit the current process (one of these must exist already)
Quit is a replacement for event 'exit' to make sure the event will not be skipped by uncaughtException.
Cordova plugin for exiting the app programmatically for Android, iOS and WP
Teach your process to shutdown gracefully.
Run some code when the process exits (supports async hooks and pm2 clustering)
powered by npms.io 🚀