Package
unload
Execute code when the js-process exits. On all javascript-environments
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.2m
- +15% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v2.4.1
- GitHub stars
- 58
- 7 forks
- Open issues / PRs
- 0 / 4
- Contributors
- -
- Commits, last 52 weeks
- 65
Downloads
Last week 2026-09-15 to 2026-09-21
2,187,279 downloads last week, 11,328,706 in the last month. The 12-month change of +15% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 017 in total
- Latest version
- 2.4.1, 28 Dec 20223 years ago
- First published
- 8 Dec 2016
- Last push to GitHub
- 20 Sept 20264 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 4
- Commits, last 52 weeks
- 65
- Dependents on npm
- -
Major versions
- v2 first release 2.0.0, 30 Jul 2018
- v1 first release 1.3.4, 12 Dec 2016
- v0 first release 0.0.1, 8 Dec 2016
Recent releases
| Version | Published |
|---|---|
| 2.4.1 | 28 Dec 2022 |
| 2.4.0 | 28 Dec 2022 |
| 2.3.1 | 4 Nov 2021 |
| 2.3.0 | 4 Nov 2021 |
| 2.2.0 | 26 Sept 2019 |
| 2.1.1 | 23 Jul 2019 |
| 2.1.0 | 9 Nov 2018 |
| 2.0.2 | 20 Sept 2018 |
| 2.0.1 | 31 Jul 2018 |
| 2.0.0 | 30 Jul 2018 |
| 1.3.9 | 4 Jul 2018 |
| 1.3.8 | 4 Jul 2018 |
| 1.3.7 | 28 Jun 2018 |
| 1.3.6 | 18 Nov 2017 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 37 kB
- Dependencies (0)
- None
npm install unload- jsDelivr
https://cdn.jsdelivr.net/npm/unload@2.4.1/ - unpkg
https://unpkg.com/unload@2.4.1/ - esm.sh
https://esm.sh/unload@2.4.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| eventemitter3 | 117.2m | - | 8 months ago | ESM + CommonJS | - |
| ieee754 | 84.5m | - | 5 years ago | CommonJS | - |
| deep-extend | 33.8m | - | 8 years ago | CommonJS | - |
| re2js | 5.1m | - | 2 months ago | ESM + CommonJS | - |
| has-to-string-tag-x | 1.8m | - | 7 years ago | ESM + CommonJS | - |
| has-symbol-support-x | 1.8m | - | 7 years ago | ESM + CommonJS | - |
| easy-stack | 1m | - | 1 month ago | ESM + CommonJS | - |
| level-iterator-stream | 564.4k | - | 5 years ago | - | - |
Indexability: Indexed.