# Install mime with npm

A comprehensive library for mime-type mapping. Version 4.1.0 via npm; verified 2025-09-12.

## Install

```sh
sudo av install npm:mime
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mime
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mime
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/mime>
- **Version:** 4.1.0
- **Source summary:** A comprehensive library for mime-type mapping
- **Homepage:** <https://github.com/broofa/mime#readme>
- **Repository:** <https://github.com/broofa/mime>
- **Upstream docs:** <https://github.com/broofa/mime#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/mime/-/mime-4.1.0.tgz>
- **Issue tracker:** <https://github.com/broofa/mime/issues>
- **Published:** 2025-09-12T17:53:01.376Z
- **Last updated:** 2025-09-12T17:53:01.376Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mime (cli)
- mime (alias)

## Build dependencies

- @types/mime-db
- @types/mime-types
- @types/node
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- chalk
- mime-score
- mime-types
- prettier
- release-please
- runmd
- typescript

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.1.0
- Package-manager updated: 2025-09-12
- Local data: ok
- Upstream repository: https://github.com/broofa/mime
- notice: The package-manager record has not changed recently.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for mime. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.1.0
- **Version Count:** 57
- **Maintainers:** broofa
- **Author:** Robert Kieffer
- **Publisher:** broofa
- **Engines:** Node: >=16
- **Integrity:** sha512-X5ju04+cAzsojXKes0B/S4tcYtFAJ6tTMuSPBEn9CPGlrWr8Fiw7qYeLT0XyH80HSoAoqWCaz+MWKh22P7G1cw==
- **Shasum:** ec55df7aa21832a36d44f0bbee5c04639b27802f
- **Unpacked Size:** 161,244
- **File Count:** 0
- **Created At:** 2011-01-20T16:27:31.008Z
- **Latest Published At:** 2025-09-12T17:53:01.376Z
- **Modified At:** 2025-09-12T17:53:01.540Z

## Other Package-Manager Records

- MacPorts - mime: normalized package name match | MacPorts ports tree: textproc/mime/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [npm command packages](https://www.automicvault.com/pkg/npm-cli-packages/) - Matched curated package taxonomy and local package facts.
- [mime-score](https://www.automicvault.com/pkg/npm/mime-score/) - Package names and metadata indicate a similar tool family. Shared terms: mime.
- [mimer](https://www.automicvault.com/pkg/npm/mimer/) - Local package facts share a topical domain. Shared terms: extension, file, mime, type.
- [check-dependency-version-consistency](https://www.automicvault.com/pkg/npm/check-dependency-version-consistency/) - Local package facts share a topical domain. Shared terms: file, type.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
