Package
content-type
Create and parse HTTP Content-Type header
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 164.7m
- +311% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 7 days ago
- v3.1.1
- GitHub stars
- 148
- 37 forks
- Open issues / PRs
- 0 / 1
- Contributors
- 12
- Commits, last 52 weeks
- 24
Downloads
Last week 2026-09-15 to 2026-09-21
164,744,668 downloads last week, 781,827,201 in the last month. The 12-month change of +311% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 512 in total
- Latest version
- 3.1.1, 17 Sept 20267 days ago
- First published
- 8 Oct 2013
- Last push to GitHub
- 17 Sept 20267 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 24
- Dependents on npm
- 2,000
Major versions
- v3 first release 3.0.0, 20 Aug 2026
- v2 first release 2.0.0, 11 May 2026
- v1 first release 1.0.0, 2 Feb 2015
- v0 first release 0.0.1, 8 Oct 2013
Recent releases
| Version | Published |
|---|---|
| 3.1.1 | 17 Sept 2026 |
| 3.1.0 | 10 Sept 2026 |
| 3.0.0 | 20 Aug 2026 |
| 2.1.0 | 13 Aug 2026 |
| 2.0.0 | 11 May 2026 |
| 1.0.5 | 29 Jan 2023 |
| 1.0.4 | 11 Sept 2017 |
| 1.0.3 | 11 Sept 2017 |
| 1.0.2 | 10 May 2016 |
| 1.0.1 | 14 Feb 2015 |
| 1.0.0 | 2 Feb 2015 |
| 0.0.1 | 8 Oct 2013 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 35 kB
- Dependencies (0)
- None
npm install content-type- jsDelivr
https://cdn.jsdelivr.net/npm/content-type@3.1.1/ - unpkg
https://unpkg.com/content-type@3.1.1/ - esm.sh
https://esm.sh/content-type@3.1.1
Indexability: Indexed.