Back to Explore

broofa/mime

GitHub
1 watchersOpen source

Last release:

“mime” is a JavaScript API for MIME type lookups, mapping file paths or extensions to MIME types and vice versa. It is useful for applications that need to determine `Content-Type` values (and extensions) and includes a compact lite variant plus full TypeScript support.

Project status

  • Maintenance status: The repository shows a recent upstream push on 2026-08-05, suggesting ongoing activity, but the most recent documented tagged update is v4.1.0 (2025-09-12), so from a consumer perspective it looks like periodic maintenance with long gaps between published updates.
  • Update cadence: Versioned updates appear infrequent (v4.0.6 in late 2024, v4.0.7 in early 2025, v4.1.0 in mid/late 2025), with no tagged update shown since 2025-09, despite the 2026 upstream push.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v4.1.0

    v4.1.0 updates the generated MIME type maps and enhances the TypeScript typing so consumers can access MIME type information as literal types. It also updates CI to run on a newer Node version and refreshes development tooling and type dependencies.

    BreakingFeatures
  • v4.0.7

    Release v4.0.7 updates the mime type database (adding many new extension mappings and expanding some existing ones) and fixes `Mime.getType()` by changing the internal regex handling to use the dotall modifier. The release notes describe the dotall fix, but the diff also includes multiple existing extension-to-mime associations changing, which can affect `getType()` outputs for already-supported extensions.

  • v4.0.6

    v4.0.6 is a small maintenance release focused on removing sourcemaps. The code diff shows this is implemented by changing TypeScript build configuration, plus several ancillary build and test-script adjustments.

  • v4.0.5

    Release v4.0.5 primarily addresses a tooling-related bug fix involving how format type files are handled. No API changes, breaking changes, or security updates are mentioned in these release notes.