whatwg-mimetype
npmv5.0.0Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Overview
whatwg-mimetype is an npm package that parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard. The latest version is 5.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard and value a focused 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
- 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 whatwg-mimetype.
Dependencies
Dev (5)
Used by
Popular packages that depend on whatwg-mimetype.
Alternatives to whatwg-mimetype
Create and parse HTTP Content-Type header
An HTTP/1.1 client, written from scratch for Node.js
HTTP status utility
Create HTTP error objects
Create and parse Content-Disposition header
HTTP response freshness testing
Fast, unopinionated, minimalist web framework
Promise based HTTP client for the browser and node.js
Range header field string parser
Manipulate the HTTP Vary header
Create simple HTTP ETags
Parse HTTP X-Forwarded-For header
Frequently installed together
The semantic version parser used by npm.
An AST-based pattern checker for JavaScript.
Next generation testing framework powered by Vite
TypeScript definitions for node
CSS color - Resolve and convert CSS colors.
UI for Vitest
Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.
An arbitrary-precision Decimal type for JavaScript.
Calculate specificity of a CSS Selector
Implements the WebIDL algorithms for converting to and from JavaScript values
🔎 A simple, tiny and lightweight benchmarking library!
a glob matcher in javascript
Version history
| Version | Published | License |
|---|---|---|
| 5.0.0latest | 6 months ago | MIT |
| 4.0.0 | 2 years ago | MIT |
| 3.0.0 | 4 years ago | MIT |
| 2.3.0 | 7 years ago | MIT |
| 2.2.0 | 7 years ago | MIT |
| 2.1.0 | 8 years ago | MIT |
| 2.0.1 | 8 years ago | MIT |
| 2.0.0 | 8 years ago | MIT |
Frequently asked questions
How do I install whatwg-mimetype?
Run `npm install whatwg-mimetype` to add whatwg-mimetype to your npm project.
What license is whatwg-mimetype released under?
whatwg-mimetype is distributed under the MIT license.
How popular is whatwg-mimetype?
whatwg-mimetype has approximately 0 downloads per week and 2 known dependent packages.