Package
headers-polyfill
A native "Headers" class polyfill.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 14m
- +156% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 6 months ago
- v5.0.1
- GitHub stars
- 33
- 13 forks
- Open issues / PRs
- 0 / 2
- Contributors
- -
- Commits, last 52 weeks
- 7
Downloads
Last week 2026-09-15 to 2026-09-21
14,010,184 downloads last week, 64,684,269 in the last month. The 12-month change of +156% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 224 in total
- Latest version
- 5.0.1, 5 Mar 20266 months ago
- First published
- 13 Feb 2022
- Last push to GitHub
- 1 Jun 2026115 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 2
- Commits, last 52 weeks
- 7
- Dependents on npm
- 110
Major versions
- v5 first release 5.0.0, 5 Mar 2026
- v4 first release 4.0.0, 13 Sept 2023
- v3 first release 3.0.3, 13 Feb 2022
Recent releases
| Version | Published |
|---|---|
| 5.0.1 | 5 Mar 2026 |
| 5.0.0 | 5 Mar 2026 |
| 4.0.3 | 18 Mar 2024 |
| 4.0.2 | 18 Oct 2023 |
| 4.0.1 | 13 Sept 2023 |
| 4.0.0 | 13 Sept 2023 |
| 3.3.0 | 13 Sept 2023 |
| 3.2.5 | 13 Sept 2023 |
| 3.2.4 | 13 Sept 2023 |
| 3.2.3 | 7 Sept 2023 |
| 3.2.2 | 5 Sept 2023 |
| 3.2.1 | 29 Aug 2023 |
| 3.2.0 | 26 Aug 2023 |
| 3.1.2 | 9 Oct 2022 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 110 kB
- Dependencies (2)
set-cookie-parser@types/set-cookie-parser
npm install headers-polyfill- jsDelivr
https://cdn.jsdelivr.net/npm/headers-polyfill@5.0.1/ - unpkg
https://unpkg.com/headers-polyfill@5.0.1/ - esm.sh
https://esm.sh/headers-polyfill@5.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| unfetch | 6.8m | - | 3 years ago | ESM + CommonJS | - |
| formdata-polyfill | 41.9m | - | 4 years ago | ESM only | - |
| fetch-ponyfill | 236.3k | - | 5 years ago | CommonJS | - |
| isomorphic-unfetch | 2.1m | - | 3 years ago | ESM + CommonJS | - |
Indexability: Indexed.