Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fabiospampinato/mime-standard
- Owner: fabiospampinato
- License: mit
- Created: 2022-04-06T18:45:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T16:28:50.000Z (over 1 year ago)
- Last Synced: 2024-11-05T07:23:58.458Z (3 months ago)
- Topics: map, mime, standard
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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