Package
async-exit-hook
Run some code when the process exits (supports async hooks and pm2 clustering)
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.9m
- +183% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 years ago
- v2.0.1
- GitHub stars
- 116
- 15 forks
- Open issues / PRs
- 8 / 1
- Contributors
- -
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
4,940,414 downloads last week, 21,729,437 in the last month. The 12-month change of +183% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 07 in total
- Latest version
- 2.0.1, 3 Aug 20179 years ago
- First published
- 12 Mar 2016
- Last push to GitHub
- 3 Dec 2025295 days before the snapshot
- Repository archived
- No
- Open issues
- 8
- Open pull requests
- 1
- Commits, last 52 weeks
- 1
- Dependents on npm
- 344
Major versions
- v2 first release 2.0.0, 3 Aug 2017
- v1 first release 1.0.1, 12 Mar 2016
Recent releases
| Version | Published |
|---|---|
| 2.0.1 | 3 Aug 2017 |
| 2.0.0 | 3 Aug 2017 |
| 1.1.2 | 29 Mar 2017 |
| 1.1.1 | 4 Nov 2016 |
| 1.1.0 | 13 Oct 2016 |
| 1.0.2 | 12 Mar 2016 |
| 1.0.1 | 12 Mar 2016 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >=0.12.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install async-exit-hook- jsDelivr
https://cdn.jsdelivr.net/npm/async-exit-hook@2.0.1/ - unpkg
https://unpkg.com/async-exit-hook@2.0.1/ - esm.sh
https://esm.sh/async-exit-hook@2.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| spawndamnit | 2.8m | - | 1 year ago | CommonJS | - |
| promisify-child-process | 332.5k | - | 7 months ago | ESM + CommonJS | - |
Indexability: Indexed.