Skip to content
JS
Package

async-exit-hook

Run some code when the process exits (supports async hooks and pm2 clustering)

v2.0.1, 3 Aug 2017MIT-Types: NonePromises and async control flowNode.js utilities
$ npm install async-exit-hook

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
02m4m6mSept 2025Mar 2026Sept 2026High 5.9m (25 Aug 2026)Low 1.2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v2 first release 2.0.0, 3 Aug 2017
  2. v1 first release 1.0.1, 12 Mar 2016

Recent releases

VersionPublished
2.0.13 Aug 2017
2.0.03 Aug 2017
1.1.229 Mar 2017
1.1.14 Nov 2016
1.1.013 Oct 2016
1.0.212 Mar 2016
1.0.112 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/async-exit-hook@2.0.1/
  • unpkghttps://unpkg.com/async-exit-hook@2.0.1/
  • esm.shhttps://esm.sh/async-exit-hook@2.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
spawndamnit2.8m-1 year agoCommonJS-
promisify-child-process332.5k-7 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.