# ext-list

> List of known file extensions and their MIME types

Latest version **4.0.0** (published 2017-07-03) · MIT license · 6.3M weekly downloads

## Install

```sh
npm install ext-list
pnpm add ext-list
yarn add ext-list
bun add ext-list
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: high downloads; no vulnerabilities.

Warnings: no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2017-07-03 |
| First published | 2014-04-17 |
| Weekly downloads | 6.3M |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Kevin Mårtensson |
| Maintainers | kevva |
| Keywords | ext, mime |

## Links

- npm: https://www.npmjs.com/package/ext-list
- Repository: https://github.com/kevva/ext-list
- Homepage: https://github.com/kevva/ext-list#readme
- Issues: https://github.com/kevva/ext-list/issues
- npm.io page: https://npm.io/package/ext-list

## Dependencies (1)

- [mime-db](https://npm.io/package/mime-db.md) ^1.28.0

## Alternatives

- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads
- [@ckeditor/ckeditor5-utils](https://npm.io/package/@ckeditor/ckeditor5-utils.md) — 1.5M weekly downloads

## Recent versions

- 4.0.0 (latest) — 2017-07-03
- 3.0.0 — 2017-06-01
- 2.2.2 — 2017-06-01
- 2.2.1 — 2017-05-24
- 2.2.0 — 2015-04-10
- 2.1.0 — 2015-01-22
- 2.0.0 — 2014-10-24
- 1.0.0 — 2014-08-26
- 0.2.0 — 2014-05-06
- 0.1.0 — 2014-04-17

## README

# 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 ext-list
```


## Usage

```js
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](https://github.com/kevva)

---
_Source: https://npm.io/package/ext-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
