Key numbers
As of 25 Sept 2026
- Weekly downloads
- 7.4m
- +75% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 7 months ago
- v5.1.0
- GitHub stars
- 301
- 42 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 8
Downloads
Last week 2026-09-15 to 2026-09-21
7,360,639 downloads last week, 35,921,630 in the last month. The 12-month change of +75% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 318 in total
- Latest version
- 5.1.0, 4 Feb 20267 months ago
- First published
- 31 Aug 2014
- Last push to GitHub
- 18 Sept 20266 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 8
- Dependents on npm
- 350
Major versions
- v5 first release 5.0.0, 13 Oct 2025
- v4 first release 4.0.0, 31 Aug 2023
- v3 first release 3.0.0, 27 Aug 2021
- v2 first release 2.0.0, 24 Mar 2018
- v1 first release 1.0.0, 31 Aug 2014
Recent releases
| Version | Published |
|---|---|
| 5.1.0 | 4 Feb 2026 |
| 5.0.1 | 19 Nov 2025 |
| 5.0.0 | 13 Oct 2025 |
| 4.0.0 | 31 Aug 2023 |
| 3.2.0 | 20 Jan 2023 |
| 3.1.4 | 9 Dec 2022 |
| 3.1.3 | 8 Dec 2022 |
| 3.1.2 | 22 Oct 2022 |
| 3.1.1 | 16 Oct 2022 |
| 3.1.0 | 23 Aug 2022 |
| 3.0.0 | 27 Aug 2021 |
| 2.2.1 | 27 Feb 2021 |
| 2.2.0 | 16 Apr 2019 |
| 2.1.0 | 9 Apr 2019 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=20
- Runtimes
- -
- Unpacked size (npm)
- 13 kB
- Dependencies (0)
- None
npm install exit-hook- jsDelivr
https://cdn.jsdelivr.net/npm/exit-hook@5.1.0/ - unpkg
https://unpkg.com/exit-hook@5.1.0/ - esm.sh
https://esm.sh/exit-hook@5.1.0
Indexability: Not indexed (discovery only): no category.