JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4057681
  • Score
    100M100P100Q194615F
  • License MIT

List of known file extensions and their MIME types

Package Exports

  • ext-list

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ext-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ext-list Build Status

Return a list of known file extensions and their MIME types

Install

$ npm install ext-list

Usage

const extList = require('ext-list');

extList();
//=> Map {'123' => 'application/vnd.lotus-1-2-3', 'ez' => 'application/andrew-inset', ...}

API

extList()

Returns a Map with the extensions as keys and their content types as values.

License

MIT © Kevin Mårtensson