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

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

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

death

Gracefully cleanup when termination signals are sent to your process.
v1.1.0 URL: https://unpkg.com/death@1.1.0/lib/death.js
OpenBrowse Files
sigintsigtermsigkillsigquitexceptionkillterminateprocessclean