Key numbers
As of 25 Sept 2026
- Weekly downloads
- 7.6m
- +301% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 10 months ago
- v2.1.5
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
7,622,768 downloads last week, 33,848,689 in the last month. The 12-month change of +301% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 18 in total
- Latest version
- 2.1.5, 28 Oct 202510 months ago
- First published
- 8 Feb 2022
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 31
Major versions
- v2 first release 2.0.0, 6 Apr 2022
- v1 first release 1.0.0, 8 Feb 2022
Recent releases
| Version | Published |
|---|---|
| 2.1.5 | 28 Oct 2025 |
| 2.1.4 | 12 Jan 2025 |
| 2.1.3 | 30 Jun 2024 |
| 2.1.2 | 9 Dec 2023 |
| 2.1.1 | 3 Aug 2023 |
| 2.1.0 | 15 Feb 2023 |
| 2.0.0 | 6 Apr 2022 |
| 1.0.0 | 8 Feb 2022 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 6.7 kB
- Dependencies (0)
- None
npm install when-exit- jsDelivr
https://cdn.jsdelivr.net/npm/when-exit@2.1.5/ - unpkg
https://unpkg.com/when-exit@2.1.5/ - esm.sh
https://esm.sh/when-exit@2.1.5
Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.