Skip to content
JS
Package

whatwg-mimetype

Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard

v5.0.0, 20 Jan 2026MITCommonJSTypes: None
$ npm install whatwg-mimetype

Key numbers

As of 25 Sept 2026
Weekly downloads
93.9m
+184% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 months ago
v5.0.0
GitHub stars
95
18 forks
Open issues / PRs
0 / 0
Contributors
5
Commits, last 52 weeks
7

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 125.6m (25 Aug 2026)Low 22.3m (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.

93,853,972 downloads last week, 457,972,396 in the last month. The 12-month change of +184% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
18 in total
Latest version
5.0.0, 20 Jan 20268 months ago
First published
10 Dec 2017
Last push to GitHub
21 Jan 2026246 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
7
Dependents on npm
733

Major versions

  1. v5 first release 5.0.0, 20 Jan 2026
  2. v4 first release 4.0.0, 11 Nov 2023
  3. v3 first release 3.0.0, 18 Sept 2021
  4. v2 first release 2.0.0, 10 Dec 2017

Recent releases

VersionPublished
5.0.020 Jan 2026
4.0.011 Nov 2023
3.0.018 Sept 2021
2.3.020 Nov 2018
2.2.014 Sept 2018
2.1.04 Feb 2018
2.0.110 Dec 2017
2.0.010 Dec 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
42 kB
Dependencies (0)
None
npm install whatwg-mimetype
  • jsDelivrhttps://cdn.jsdelivr.net/npm/whatwg-mimetype@5.0.0/
  • unpkghttps://unpkg.com/whatwg-mimetype@5.0.0/
  • esm.shhttps://esm.sh/whatwg-mimetype@5.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.