# jshttp/mime-db

Media Type Database

Repository: https://github.com/jshttp/mime-db
Canonical: https://ross.abutalabs.com/products/mime-db
Language: JavaScript
License: MIT
License Family: permissive
Topics: mime, mime-types
Last push: 2026-08-01T22:05:21+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 16, longevity 100
- inputs: {"age_days": 4402, "days_push": 32, "days_rel": 533, "gap_med": 137, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1248, forks 287 (observed 2026-08-28T04:04:07.802336+00:00)

## What it is
A comprehensive JSON database of MIME/media types aggregated from IANA, Apache, and nginx sources. It contains no logic, just a single public JSON file mapping MIME types to extensions, charsets, and compressibility info.

## Use cases
- look up file extensions for a mime type
- determine the default charset for a content type
- check whether a mime type is compressible with gzip
- build a file upload type validator
- map file extensions to content types in an http server

## When to avoid
- you want a library that resolves MIME types from file paths with an API - use mime-types or mime instead
- you need custom or non-standard media type mappings not in IANA/Apache/nginx

## Facets
- artifact type: dataset
- maturity: stable
- function: serialization, developer-tools
- domain: web-development, files, apis
- platform: browser
- tags: mime-types, json-database, media-types, iana, content-type, nodejs, javascript

## Member repositories
- jshttp/mime-db (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.802336+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:52.929434+00:00, confidence not recorded.
  - readme: https://github.com/jshttp/mime-db (fetched 2026-08-28T04:04:07.802336+00:00, sha 0a8be8015648)
  - registry_npm: https://registry.npmjs.org/mime-db (fetched 2026-08-29T12:18:57.485322+00:00, sha 5dd72646e880)
- Data as of 2026-08-30T08:39:29.467469+00:00.
