exit-hook15.2mMIT4.0.0Run some code when the process exits
sindresorhusalmost 2 years agoshutdown, exit, quit, process killable10.9mISC1.0.1Keeps track of a server's open sockets so they can be destroyed at a moment's notice.
marten-de-vriesabout 3 years agoshutdown, express, http, server async-exit-hook7.2mMIT2.0.1Run some code when the process exits (supports async hooks and pm2 clustering)
tapppiabout 3 years agoshutdown, exit, quit, process http-shutdown4.7mMIT1.2.2Gracefully shutdown a running HTTP server.
thedillonbabout 3 years agoshutdown, http, https, graceful