{"library":"mrmime","type":"library","category":null,"description":"mrmime is a minimalist and high-performance utility designed to retrieve MIME types from file extensions or filenames. Currently at version 2.0.1, it offers a small footprint (2.8kB gzipped) and O(1) lookup times, making it significantly faster than alternatives like `mime` or `mime/lite` as demonstrated in its benchmarks. The library's comprehensive dictionary is generated from `mime-db`, which aggregates IANA, NGINX, and Apache datasets, ensuring accuracy for standard MIME types while intentionally omitting experimental and vendor-specific entries to maintain its lightweight nature. It supports both native ESM and CommonJS environments, including Deno, and allows for dictionary customization. The project maintains an active release cadence, primarily syncing with `mime-db` updates and addressing minor breaking changes between major versions.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","mime","extension","mimetype","typescript"],"install":[{"cmd":"npm install mrmime","imports":["import { lookup } from 'mrmime';","import { mimes } from 'mrmime';","const { lookup, mimes } = require('mrmime');"]},{"cmd":"yarn add mrmime","imports":[]},{"cmd":"pnpm add mrmime","imports":[]}],"homepage":null,"github":"https://github.com/lukeed/mrmime","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mrmime","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/mrmime/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}