NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
npm, #61 most downloaded on npm
The ultimate javascript content-type utility.
Latest stable
3.0.2
Last release 1 years ago
20 Nov 2025
Ships unpredictably
gaps range from 5 weeks to 2.5 years
Nearly every release is documented
notes for 57 of 58 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
58 releases Β· first in 2014
Drag across the ruler to compare, or tap a release to open it.
fix: use ubuntu-latest as ci runner by @UlisesGascon in #143
ubuntu-latest as ci runner by @UlisesGascon in #143Full Changelog: v3.0.1...v3.0.2
Your coding agent can read these notes before it upgrades. Set up the MCP server β
chore: upgrade scorecard workflow pinned action versions by @carpasse in #130
Full Changelog: v3.0.0...v3.0.1
Replace deprecated String.prototype.substr() by @CommanderRoot in #96
Full Changelog: 2.1.35...v3.0.0
Add extensions from IANA for more image/* types
image/* types.asc to application/pgp-keysdeps: mime-db@1.51.0 Add new upstream MIME types
Add deprecated iWorks mime types and extensions
Add extension .trig to application/trig
.trig to application/trigAdd extension .mvt to application/vnd.mapbox-vector-tile
.mvt to application/vnd.mapbox-vector-tiletext/yaml as compressibleAdd extension .amr to audio/amr
.amr to audio/amrapplication/*+xml types.es for application/ecmascriptAdd extension .amr to audio/amr
.amr to audio/amr.m4s to video/iso.segment.opus to audio/oggAdd application/ubjson with extension .ubj
application/ubjson with extension .ubjimage/avif with extension .avifimage/ktx2 with extension .ktx2.dbf to application/vnd.dbf.rar to application/vnd.rar.td to application/urc-targetdesc+xmlapplication/vnd.apple.keynote to be .keyAdd extension .cjs to application/node
.cjs to application/nodeAdd application/x-keepass2 with extension .kdbx
application/x-keepass2 with extension .kdbx.mxmf to audio/mobile-xmfapplication/*+xml typesAdd application/toml with extension .toml
application/toml with extension .tomlimage/vnd.ms-dds with extension .ddsAdd extensions from IANA for model/* types
model/* typestext/mdx with extension .mdxAdd extensions .siv and .sieve to application/sieve
.siv and .sieve to application/sieveAdd extension .nq to application/n-quads
.nq to application/n-quads.nt to application/n-triplestext/less as compressibleAdd extensions to HEIC image types
Add Apple file extensions from IANA
image/* typesAdd extension .csl to application/vnd.citationstyles.style+xml
.csl to application/vnd.citationstyles.style+xml.es to application/ecmascript.owl to application/rdf+xmltext/turtleAdd application/raml+yaml with extension .raml
application/raml+yaml with extension .ramlapplication/wasm with extension .wasmtext/shex with extension .shexmessage/* typestext/hjson to registered application/hjsonAdd extension .mjs to application/javascript
application/vnd.ms-outlookapplication/x-arj.mjs to application/javascripttext/x-orgsource records for video/* types that are IANAfont/opentype to registered font/otfAdd application/fido.trusted-apps+json
application/fido.trusted-apps+json.wadl to application/vnd.sun.wadl+xml.gz to application/gzip.md and .markdown to be text/markdown* deps: mime-db@~1.27.0 - Add new mime types - Add image/apng
image/apng- deps: mime-db@~1.26.0 - Add new mime types
- deps: mime-db@~1.25.0 - Add new mime types
- deps: mime-db@~1.24.0 - Add new mime types - Add audio/mp3
audio/mp3- deps: mime-db@~1.23.0 - Add new mime types
Fix extension of application/dash+xml
application/dash+xmlaudio/mp4- deps: mime-db@~1.21.0 - Add new mime types
- deps: mime-db@~1.20.0 - Add new mime types
- deps: mime-db@~1.19.0 - Add new mime types
- deps: mime-db@~1.18.0 - Add new mime types
- deps: mime-db@~1.17.0 - Add new mime types
- deps: mime-db@~1.16.0 - Add new mime types
- deps: mime-db@~1.15.0 - Add new mime types
- deps: mime-db@~1.14.0 - Add new mime types
- perf: fix deopt during mapping
Fix incorrectly treating extension-less file name as extension
'path/to/json' will no longer return application/json.charset(type) to accept parameters.charset(type) to match case-insensitiveapplication/* MIME types from the same sourceapplication/octet-stream- deps: mime-db@~1.12.0 - Add new mime types
- deps: mime-db@~1.11.0 - Add new mime types
- deps: mime-db@~1.10.0 - Add new mime types
- deps: mime-db@~1.9.1 - Add new mime types
- deps: mime-db@~1.8.0 - Add new mime types
Community extensions ownership transferred from node-mime
node-mime- deps: mime-db@~1.6.0 - Add new mime types
Fix various invalid MIME type entries
Fix various invalid MIME type entries
- deps: mime-db@~1.3.1 - Fix missing extensions
- deps: mime-db@~1.3.0 - Add new mime types
- deps: mime-db@~1.2.0 - Add new mime types
- deps: mime-db@~1.1.0 - Add new mime types - Add additional compressible - Update charsets
Nothing published for this version
- Use mime-db - Remove .define()
mime-db.define()added UTF-8 for application/javascript
UTF-8 for application/javascriptadded text/jsx - react.js .jsx files.
text/jsx - react.js .jsx files.returns false when arguments are not types.
mime.charset - will eventually replace mime.charsets.lookup.
mime.charsets.lookup still exists for backwards compatibility.This version is basically just a port of node-mime, with a slightly different structure.
This version is basically just a port of node-mime, with a slightly different structure.
Uses JSON for content-type data instead of Apache2-style type maps.
One column per quarter.