aboutsummaryrefslogtreecommitdiff
path: root/node_modules/ext-list/readme.md
blob: 893064d1eee7239dda950b33ffa3ebc4f915fafb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ext-list [![Build Status](http://img.shields.io/travis/kevva/ext-list.svg?style=flat)](https://travis-ci.org/kevva/ext-list)

> Return a list of known [file extensions](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) and their MIME types


## Install

```
$ npm install --save ext-list
```


## Usage

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

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


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)