Ever wonder how to do something just before a Node.js process ends? Safely close connections, clean up caches, or log your app’s status somewhere? Wonder no more. With this script you can do it. Have fun!

  1. Source code
  2. Example
  3. Downloads
  4. Related stuff

Source code

Example

Downloads

exit.js

JAVASCRIPT (710 B) ▼ Download