Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micnic/mime.json
JSON list of extensions with their mime types
https://github.com/micnic/mime.json
json mime mime-types
Last synced: 2 months ago
JSON representation
JSON list of extensions with their mime types
- Host: GitHub
- URL: https://github.com/micnic/mime.json
- Owner: micnic
- License: mit
- Created: 2015-05-09T13:38:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T09:24:27.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T08:08:16.140Z (3 months ago)
- Topics: json, mime, mime-types
- Language: JavaScript
- Size: 77.1 KB
- Stars: 36
- Watchers: 2
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# mime.json
[![npm version](https://img.shields.io/npm/v/mime.json.svg?logo=npm&style=flat-square)](https://www.npmjs.com/package/mime.json)
[![npm downloads](https://img.shields.io/npm/dm/mime.json.svg?style=flat-square)](https://www.npmjs.com/package/mime.json)
[![npm types](https://img.shields.io/npm/types/mime.json.svg?style=flat-square)](https://www.npmjs.com/package/mime.json)
[![license](https://img.shields.io/npm/l/mime.json.svg?style=flat-square)](https://www.npmjs.com/package/mime.json)This is the list of file extensions with their mime types, nothing more. The list is extracted from [mime-db](https://www.npmjs.com/package/mime-db).
## Usage
```js
import mime from 'mime.json';mime['js']; // => 'application/javascript'
mime.json; // => 'application/json'
```