Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mimehttp

RealTimeCom2MIT1.0.0

MIME HTTP Type

mime, type, extension, mimetype, file, http

readme

MIME HTTP Type

$ npm install mimehttp

Example

const mime = require('mimehttp');

mime.file('/path/index.html');
// print: text/html; charset=UTF-8

mime.type['html'];
// print: text/html; charset=UTF-8

mimehttp is licensed under the MIT license. See the included LICENSE file for more details.