1
0
mirror of https://github.com/actions/labeler synced 2026-05-10 10:21:02 +02:00
This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

14
node_modules/mime-db/README.md generated vendored
View File

@@ -34,11 +34,13 @@ https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json
## Usage
<!-- eslint-disable no-unused-vars -->
```js
var db = require('mime-db');
var db = require('mime-db')
// grab data on .js files
var data = db['application/javascript'];
var data = db['application/javascript']
```
## Data Structure
@@ -76,13 +78,19 @@ and the values being an object with the following keys:
To update the build, run `npm run build`.
## Adding Custom Media Types
### Adding Custom Media Types
The best way to get new media types included in this library is to register
them with the IANA. The community registration procedure is outlined in
[RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types
registered with the IANA are automatically pulled into this library.
If that is not possible / feasible, they can be added directly here as a
"custom" type. To do this, it is required to have a primary source that
definitively lists the media type. If an extension is going to be listed as
associateed with this media type, the source must definitively link the
media type and extension as well.
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master
[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master
[node-image]: https://badgen.net/npm/node/mime-db