mime-database
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

mime-database

Github All Releases Github Release Version Make a pull request

License Watch on GitHub Star on GitHub

Installation

npm install mime-database

Usage

const db = require('mime-database');
const response = db.getType('application/json');

// OR

import { getType } from 'mime-database';
const response = getType('application/json');

My Twitter My Twitch

/mime-database/

    Package Sidebar

    Install

    npm i mime-database

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    232 kB

    Total Files

    12

    Last publish

    Collaborators

    • leonenkn