Nouveau Papier Mâché

    @amphibian/mime-types

    1.0.3 • Public • Published

    mime-types

    build status

    bare bones mime type checker and resolver

    npm install @amphibian/mime-types
    
    var mimeTypes = require('@amphibian/mime-types');
    
    mimeTypes('json'); // > application/json
    
    var randomMimeType = 'text/html';
    mimeTypes(randomMimeType, 'html'); // > true
    mimeTypes(randomMimeType, 'css'); // > false

    Keywords

    none

    Install

    npm i @amphibian/mime-types

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    ISC

    Last publish

    Collaborators

    • thomaslindstr_m