Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fabiospampinato/mime-standard

An object mapping ~300 standard mime types to ~400 extensions.
https://github.com/fabiospampinato/mime-standard

map mime standard

Last synced: about 2 months ago
JSON representation

An object mapping ~300 standard mime types to ~400 extensions.

Awesome Lists containing this project

README

        

# Mime Standard

An object mapping ~300 standard mime types to ~400 extensions.

This module basically just exports the content of [this file](https://github.com/broofa/mime/blob/master/types/standard.js).

## Install

```sh
npm install --save mime-standard
```

## Usage

```ts
import mime from 'mime-standard';

console.log ( mime );

/*
{
"application/andrew-inset": ["ez"],
"application/applixware": ["aw"],
"application/atom+xml": ["atom"],
...and so on...
}
*/
```

## License

MIT © Fabio Spampinato