Package
on-headers
Execute a listener when a response is about to write headers
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 38m
- +51% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v1.1.0
- GitHub stars
- 163
- 35 forks
- Open issues / PRs
- 2 / 5
- Contributors
- 9
- Commits, last 52 weeks
- 7
Downloads
Last week 2026-09-15 to 2026-09-21
38,039,770 downloads last week, 162,092,806 in the last month. The 12-month change of +51% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 05 in total
- Latest version
- 1.1.0, 17 Jul 20251 year ago
- First published
- 14 May 2014
- Last push to GitHub
- 24 Jun 202692 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 5
- Commits, last 52 weeks
- 7
- Dependents on npm
- 1,578
Major versions
- v1 first release 1.0.0, 10 Aug 2014
- v0 first release 0.0.0, 14 May 2014
Recent releases
| Version | Published |
|---|---|
| 1.1.0 | 17 Jul 2025 |
| 1.0.2 | 22 Feb 2019 |
| 1.0.1 | 30 Sept 2015 |
| 1.0.0 | 10 Aug 2014 |
| 0.0.0 | 14 May 2014 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >= 0.8
- Runtimes
- -
- Unpacked size (npm)
- 8.6 kB
- Dependencies (0)
- None
npm install on-headers- jsDelivr
https://cdn.jsdelivr.net/npm/on-headers@1.1.0/ - unpkg
https://unpkg.com/on-headers@1.1.0/ - esm.sh
https://esm.sh/on-headers@1.1.0
Indexability: Indexed.