@jadsonlucena/mediatypes
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i @jadsonlucena/mediatypes

Weekly Downloads

6

Version

1.1.0

License

MIT

Unpacked Size

86.6 kB

Total Files

6

Last publish

Collaborators

  • jadsonlucena