Skip to content
JS
Package

content-type

Create and parse HTTP Content-Type header

v3.1.1, 17 Sept 2026MITESM onlyTypes: BundledNode.js utilities
$ npm install content-type

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
0100m200m300mSept 2025Mar 2026Sept 2026High 209m (25 Aug 2026)Low 27.7m (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.

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

  1. v3 first release 3.0.0, 20 Aug 2026
  2. v2 first release 2.0.0, 11 May 2026
  3. v1 first release 1.0.0, 2 Feb 2015
  4. v0 first release 0.0.1, 8 Oct 2013

Recent releases

VersionPublished
3.1.117 Sept 2026
3.1.010 Sept 2026
3.0.020 Aug 2026
2.1.013 Aug 2026
2.0.011 May 2026
1.0.529 Jan 2023
1.0.411 Sept 2017
1.0.311 Sept 2017
1.0.210 May 2016
1.0.114 Feb 2015
1.0.02 Feb 2015
0.0.18 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/content-type@3.1.1/
  • unpkghttps://unpkg.com/content-type@3.1.1/
  • esm.shhttps://esm.sh/content-type@3.1.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.