npm package
Homeon-exit-leak-free
on-exit-leak-free is a Node. js module that allows you to execute a cleanup function on process exit without causing memory leaks. It is particularly useful for ensuring that objects are disposed of properly when the application terminates, leveraging modern JavaScript features like WeakRef and FinalizationRegistry.
- lurq health score
- 42/100
- Confidence
- unproven
- Weekly downloads
- 27,499,310
- Latest version
- 2.1.2
- Last release
- Oct 3, 2023
- License
- MIT
Should you depend on on-exit-leak-free?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks on-exit-leak-free 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 on-exit-leak-free
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.0.0 → 2.1.2diff ready
- 0.2.0 → 1.0.0diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 16, 2026; this page refreshes every 168 hours. Source repository.