← All repos

media-typer

Simple RFC 6838 media type parser and formatter

javascriptmediamimenodejstype
Browse cluster: Node.js HTTP utilities & middleware
240commits
7contributors
1languages

Tech stack & purpose

media-typer is a Node.js module that parses and formats media types according to RFC 6838, breaking them into component parts like type, subtype, and suffix. The library provides parsing, formatting, and validation functions to work with media type strings, enabling normalization into canonical form. It is built in JavaScript and distributed through npm, maintained by jshttp.

Languages

TypeScript
100.0%

Contributors