Execute a function right before the process, or the browser's tab, is about to exit.
[email protected] is safe to use (health: 65/100)
No known vulnerabilities in the latest version.
Get this data programmatically — free, no authentication required:
curl https://depscope.dev/api/check/npm/when-exitFirst published: 2022-02-08T21:14:56.072Z
Last updated: 2025-10-28T22:52:37.076Z
Data from DepScope — Package Intelligence for AI Agents