depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • nice-try— Tries to execute a function and discards any error that occu
  • on-exit-leak-free— Execute a function on exit without leaking memory, allowing
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/when-exit

when-exit

npmv2.1.5

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

License MITpermissive8 versions1 maintainers0 deps5,575,049 weekly dl
fabiospampinato/when-exit
63
/ 100
Health
use with caution

[email protected] low health (63/100) — consider alternatives

  • Moderate health score (63/100) — verify manually
Health breakdown0 – 100
10/25
maintenance
17/20
popularity
25/25
security
9/15
maturity
2/15
community
0/15
popularity_floor
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

0.9 KBminified
0.5 KB gzipped
0 direct dependencies
side effects
🌟

TypeScript

10/10typed
bundled
Quality signals
OSS Criticality
0.65high

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/when-exit
More from npm
?semverminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2022-02-08T21:14:56.072Z

Last updated · 2025-10-28T22:52:37.076Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents