# when-exit (npm)

Execute a function right before the process, or the browser's tab, is about to exit.

- Latest: 2.1.5 (2025-10-28)
- Licence: MIT
- Downloads: 86873261 last month
- Advisories on the latest version: 0


Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
