Search results
24 packages found
Gracefully restore the CLI cursor on exit
Run some code when the process exits
Terminal loading effect.
Run some code when the process exits (supports async hooks and pm2 clustering)
onDeath() will register callbacks to call right before your Node.js program terminates.
shutdown(8) for Koishi.
Register callbacks to call when application exits
Simple wrapper for process.exit
All in one solution to gracefully shutdown your application through a simple delayed shutdown process. Also allows code reloading and program restarting, instead of using a not so graceful process manager line nodemon.
Try his best to cleanly stop a process you spawned.
Execute a callback when the process exits, passing the exit code (ESM/CJS)
Yet another POSIX signal handler.
The way you should quit your job.
An easy way to hook process.exit().
Run some code when the process exits (supports async hooks and pm2 clustering)
Cordova plugin for exiting the app programmatically for Android, iOS and WP
Quit Hyper on macOS when last window closes
On error, quit the current process (one of these must exist already)
Cordova plugin for exiting the app programmatically for Android, iOS and WP
Quit is a replacement for event 'exit' to make sure the event will not be skipped by uncaughtException.