media-typer
npmv2.0.0Simple RFC 6838 media type parser and formatter
Overview
media-typer is an npm package that simple RFC 6838 media type parser and formatter. It is extremely widely used, with about 113.4M downloads per week and 2 known dependents in the graph. The latest version is 2.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need simple RFC 6838 media type parser and formatter and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (113.4M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of media-typer.
Dependencies
Dev (6)
Used by
Popular packages that depend on media-typer.
Frequently installed together
An AST-based pattern checker for JavaScript.
The ultimate javascript content-type utility.
Create and parse HTTP Content-Type header
An HTTP/1.1 client, written from scratch for Node.js
Version history
| Version | Published | License |
|---|---|---|
| 2.0.0latest | 1 month ago | MIT |
| 1.1.0 | 7 years ago | MIT |
| 1.0.2 | 7 years ago | MIT |
| 1.0.1 | 7 years ago | MIT |
| 1.0.0 | 7 years ago | MIT |
| 0.3.0 | 12 years ago | MIT |
| 0.2.0 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
| 0.0.0 | 12 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install media-typer?
Run `npm install media-typer` to add media-typer to your npm project.
What license is media-typer released under?
media-typer is distributed under the MIT license.
How popular is media-typer?
media-typer has approximately 113,392,727 downloads per week and 2 known dependent packages.