mime
npmv4.1.0TypeScriptA comprehensive library for mime-type mapping
Overview
mime is an npm package that a comprehensive library for mime-type mapping. The latest version is 4.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a comprehensive library for mime-type mapping and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of mime.
Dependencies
Dev (12)
Used by
Popular packages that depend on mime.
Runtime typescript and ESM support for Node.js
No description provided.
Next generation testing framework powered by Vite
UI for Vitest
Leaner CSS
Browser running for Vitest
Alternatives to mime
Node.js path.parse() ponyfill
A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename
Find a file or directory by walking up parent directories
Media Type Database
The ultimate javascript content-type utility.
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Better streaming static file server with Range and conditional-GET support
Open stuff like URLs, files, executables. Cross-platform.
merge() utility function
Neo-Async is a drop-in replacement for Async, it almost fully covers its functionality and runs faster
Blob & File implementation in Node.js, originally from node-fetch.
Prepare a node environment to require files with different extensions.
Frequently installed together
TypeScript definitions for node
Next generation testing framework powered by Vite
Universal filesystem path utils
Shared Vitest utility functions
A small library to print colourful messages.
Public API for OpenTelemetry
Message based Two-way remote procedure call
Vitest test runner
Native-ESM powered web dev build tool
The semantic version parser used by npm.
ECMAScript parser
TypeScript definitions for ws
Version history
| Version | Published | License |
|---|---|---|
| 4.1.0latest | 10 months ago | MIT |
| 4.0.7 | 1 year ago | MIT |
| 4.0.6 | 1 year ago | MIT |
| 4.0.5 | 1 year ago | MIT |
| 4.0.4 | 2 years ago | MIT |
| 4.0.3 | 2 years ago | MIT |
| 4.0.2 | 2 years ago | MIT |
| 4.0.1 | 2 years ago | MIT |
| 4.0.0 | 2 years ago | MIT |
| 4.0.0-beta.1 | 2 years ago | MIT |
| 4.0.0-beta.0 | 2 years ago | MIT |
| 3.0.0 | 4 years ago | MIT |
| 2.6.0 | 4 years ago | MIT |
| 2.5.2 | 5 years ago | MIT |
| 2.5.0 | 5 years ago | MIT |
| 2.4.7 | 5 years ago | MIT |
| 2.4.6 | 6 years ago | MIT |
| 2.4.5 | 6 years ago | MIT |
| 2.4.4 | 7 years ago | MIT |
| 2.4.3 | 7 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install mime?
Run `npm install mime` to add mime to your npm project.
What license is mime released under?
mime is distributed under the MIT license.
How popular is mime?
mime has approximately 0 downloads per week and 6 known dependent packages.