# Install mime with npm

A comprehensive library for mime-type mapping. Version 4.1.0 via npm; verified 2025-09-12. Also installable with macports: sudo port install mime.

## 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
- **Version:** 4.1.0
- **Source summary:** A comprehensive library for mime-type mapping
- **Homepage:** <https://github.com/broofa/mime#readme>
- **Last updated:** 2025-09-12T17:53:01.376Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mime (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.1.0

## 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.


## 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


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
