human-signals

Human-friendly process signals
v8.0.1 URL: https://unpkg.com/human-signals@8.0.1/build/src/main.js
OpenBrowse Files
signalsignalshandlerserror-handlinginterruptssigtermsigintirqprocessexitexit-codestatusoperating-systemes6javascripttypescriptlinuxmacoswindowsnodejs

restore-cursor

Gracefully restore the CLI cursor on exit
v5.1.0 URL: https://unpkg.com/restore-cursor@5.1.0/index.js
OpenBrowse Files
exitquitprocessgracefulshutdownsigtermsigintterminatekillstopclicursoransishowtermterminalconsolettyshellcommand-line

exit-hook

Run some code when the process exits
v4.0.0 URL: https://unpkg.com/exit-hook@4.0.0/index.js
OpenBrowse Files
exitquitprocesshookgracefulhandlershutdownsigtermsigintterminatekillstopeventsignalasyncasynchronous

async-exit-hook

Run some code when the process exits (supports async hooks and pm2 clustering)
v2.0.1 URL: https://unpkg.com/async-exit-hook@2.0.1/index.js
OpenBrowse Files
exitquitprocesshookgracefulhandlershutdownsigtermsigintsighuppm2clusterchildreloadasyncterminatekillstopevent

node-cleanup

installs custom cleanup handlers that run on exiting node
v2.1.2 URL: https://unpkg.com/node-cleanup@2.1.2/node-cleanup.js
OpenBrowse Files
nodeexitcleanupsigintctrl-c