npm package
Homeexit-hook
exit-hook allows you to run custom code when a Node. js process exits, helping with cleanup tasks. It is particularly useful for ensuring that necessary actions are taken before the application terminates.
- lurq health score
- 66/100
- Confidence
- proven
- Weekly downloads
- 7,108,732
- Latest version
- 5.1.0
- Last release
- Feb 4, 2026
- License
- MIT
Should you depend on exit-hook?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks exit-hook at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading exit-hook
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 4.0.0 → 5.1.0being extracted
- 3.2.0 → 4.0.0being extracted
- 2.2.1 → 3.2.0being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.