Skip to content
JS
Package

on-headers

Execute a listener when a response is about to write headers

v1.1.0, 17 Jul 2025MIT-Types: NoneNode.js utilities
$ npm install on-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
020m40m60m80mSept 2025Mar 2026Sept 2026High 68.9m (3 Feb 2026)Low 21.4m (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.

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

  1. v1 first release 1.0.0, 10 Aug 2014
  2. v0 first release 0.0.0, 14 May 2014

Recent releases

VersionPublished
1.1.017 Jul 2025
1.0.222 Feb 2019
1.0.130 Sept 2015
1.0.010 Aug 2014
0.0.014 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/on-headers@1.1.0/
  • unpkghttps://unpkg.com/on-headers@1.1.0/
  • esm.shhttps://esm.sh/on-headers@1.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.