Skip to content
JS
Package

cache-content-type

Create a full Content-Type header given a MIME type or extension and cache the result

v2.1.0, 11 Mar 2025MITESM + CommonJSTypes: BundledCaching
$ npm install cache-content-type

Key numbers

As of 25 Sept 2026
Weekly downloads
2.5m
-5% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v2.1.0
GitHub stars
1
0 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.6m (25 Aug 2026)Low 1.2m (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.

2,477,804 downloads last week, 12,349,977 in the last month. The 12-month change of -5% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
04 in total
Latest version
2.1.0, 11 Mar 20251 year ago
First published
11 Jul 2018
Last push to GitHub
9 Aug 2025411 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
58

Major versions

  1. v2 first release 2.0.0, 8 Jun 2024
  2. v1 first release 1.0.0, 11 Jul 2018

Recent releases

VersionPublished
2.1.011 Mar 2025
2.0.08 Jun 2024
1.0.118 Jul 2018
1.0.011 Jul 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 18.0.0
Runtimes
-
Unpacked size (npm)
8.0 kB
Dependencies (2)
ylrumime-types
npm install cache-content-type
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cache-content-type@2.1.0/
  • unpkghttps://unpkg.com/cache-content-type@2.1.0/
  • esm.shhttps://esm.sh/cache-content-type@2.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.