Skip to content

This is a comprehensive compilation of media types under the RFC-6838 protocol that may be periodically updated through the following projects: Apache, NGINX and Debian

License

Notifications You must be signed in to change notification settings

JadsonLucena/MediaTypes.js

Repository files navigation

MediaTypes

CodeQL Test Coverage JavaScript Style Guide Conventional Commits

This is a comprehensive compilation of media types under the RFC-6838 protocol that may be periodically updated through the following projects: Apache, NGINX and Debian

What is

A file's extension has no meaning on the web. In order for the client to interpret the document correctly, the media type must be sent in the Content-Type header.

Interface

Although this is a javascript module, we use a typescript interface to maintain interoperability and better readability. See: src/MediaTypes.d.ts

Specifications

We strive to maintain complete code coverage in tests. With that, we provide all the necessary use cases for a good understanding of how this module works. See: test/MediaTypes.spec.js