Skip to content
/ ext-list Public

Return a list of known file extensions and their MIME types

License

Notifications You must be signed in to change notification settings

kevva/ext-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Return a list of known file extensions and their MIME types

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published