| { |
| "_args": [ |
| [ |
| { |
| "raw": "mime-db@~1.30.0", |
| "scope": null, |
| "escapedName": "mime-db", |
| "name": "mime-db", |
| "rawSpec": "~1.30.0", |
| "spec": ">=1.30.0 <1.31.0", |
| "type": "range" |
| }, |
| "/Users/steveng/repo/cordova/cordova-browser/node_modules/mime-types" |
| ] |
| ], |
| "_from": "mime-db@>=1.30.0 <1.31.0", |
| "_id": "mime-db@1.30.0", |
| "_inCache": true, |
| "_location": "/mime-db", |
| "_nodeVersion": "6.11.1", |
| "_npmOperationalInternal": { |
| "host": "s3://npm-registry-packages", |
| "tmp": "tmp/mime-db-1.30.0.tgz_1503887330099_0.8198229141999036" |
| }, |
| "_npmUser": { |
| "name": "dougwilson", |
| "email": "doug@somethingdoug.com" |
| }, |
| "_npmVersion": "3.10.10", |
| "_phantomChildren": {}, |
| "_requested": { |
| "raw": "mime-db@~1.30.0", |
| "scope": null, |
| "escapedName": "mime-db", |
| "name": "mime-db", |
| "rawSpec": "~1.30.0", |
| "spec": ">=1.30.0 <1.31.0", |
| "type": "range" |
| }, |
| "_requiredBy": [ |
| "/compressible", |
| "/mime-types" |
| ], |
| "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz", |
| "_shasum": "74c643da2dd9d6a45399963465b26d5ca7d71f01", |
| "_shrinkwrap": null, |
| "_spec": "mime-db@~1.30.0", |
| "_where": "/Users/steveng/repo/cordova/cordova-browser/node_modules/mime-types", |
| "bugs": { |
| "url": "https://github.com/jshttp/mime-db/issues" |
| }, |
| "contributors": [ |
| { |
| "name": "Douglas Christopher Wilson", |
| "email": "doug@somethingdoug.com" |
| }, |
| { |
| "name": "Jonathan Ong", |
| "email": "me@jongleberry.com", |
| "url": "http://jongleberry.com" |
| }, |
| { |
| "name": "Robert Kieffer", |
| "email": "robert@broofa.com", |
| "url": "http://github.com/broofa" |
| } |
| ], |
| "dependencies": {}, |
| "description": "Media Type Database", |
| "devDependencies": { |
| "bluebird": "3.5.0", |
| "co": "4.6.0", |
| "cogent": "1.0.1", |
| "csv-parse": "1.2.1", |
| "eslint": "3.19.0", |
| "eslint-config-standard": "10.2.1", |
| "eslint-plugin-import": "2.7.0", |
| "eslint-plugin-node": "5.1.1", |
| "eslint-plugin-promise": "3.5.0", |
| "eslint-plugin-standard": "3.0.1", |
| "gnode": "0.1.2", |
| "mocha": "1.21.5", |
| "nyc": "11.1.0", |
| "raw-body": "2.3.0", |
| "stream-to-array": "2.3.0" |
| }, |
| "directories": {}, |
| "dist": { |
| "shasum": "74c643da2dd9d6a45399963465b26d5ca7d71f01", |
| "tarball": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz" |
| }, |
| "engines": { |
| "node": ">= 0.6" |
| }, |
| "files": [ |
| "HISTORY.md", |
| "LICENSE", |
| "README.md", |
| "db.json", |
| "index.js" |
| ], |
| "gitHead": "e62cf46c206681ca88b2e275f442a9885f1f86e4", |
| "homepage": "https://github.com/jshttp/mime-db#readme", |
| "keywords": [ |
| "mime", |
| "db", |
| "type", |
| "types", |
| "database", |
| "charset", |
| "charsets" |
| ], |
| "license": "MIT", |
| "maintainers": [ |
| { |
| "name": "dougwilson", |
| "email": "doug@somethingdoug.com" |
| }, |
| { |
| "name": "jongleberry", |
| "email": "jonathanrichardong@gmail.com" |
| } |
| ], |
| "name": "mime-db", |
| "optionalDependencies": {}, |
| "readme": "# mime-db\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-url]\n[![Node.js Version][node-image]][node-url]\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\nThis is a database of all mime types.\nIt consists of a single, public JSON file and does not include any logic,\nallowing it to remain as un-opinionated as possible with an API.\nIt aggregates data from the following sources:\n\n- http://www.iana.org/assignments/media-types/media-types.xhtml\n- http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types\n- http://hg.nginx.org/nginx/raw-file/default/conf/mime.types\n\n## Installation\n\n```bash\nnpm install mime-db\n```\n\n### Database Download\n\nIf you're crazy enough to use this in the browser, you can just grab the\nJSON file using [RawGit](https://rawgit.com/). It is recommended to replace\n`master` with [a release tag](https://github.com/jshttp/mime-db/tags) as the\nJSON format may change in the future.\n\n```\nhttps://cdn.rawgit.com/jshttp/mime-db/master/db.json\n```\n\n## Usage\n\n```js\nvar db = require('mime-db');\n\n// grab data on .js files\nvar data = db['application/javascript'];\n```\n\n## Data Structure\n\nThe JSON file is a map lookup for lowercased mime types.\nEach mime type has the following properties:\n\n- `.source` - where the mime type is defined.\n If not set, it's probably a custom media type.\n - `apache` - [Apache common media types](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)\n - `iana` - [IANA-defined media types](http://www.iana.org/assignments/media-types/media-types.xhtml)\n - `nginx` - [nginx media types](http://hg.nginx.org/nginx/raw-file/default/conf/mime.types)\n- `.extensions[]` - known extensions associated with this mime type.\n- `.compressible` - whether a file of this type can be gzipped.\n- `.charset` - the default charset associated with this type, if any.\n\nIf unknown, every property could be `undefined`.\n\n## Contributing\n\nTo edit the database, only make PRs against `src/custom.json` or\n`src/custom-suffix.json`.\n\nThe `src/custom.json` file is a JSON object with the MIME type as the keys\nand the values being an object with the following keys:\n\n- `compressible` - leave out if you don't know, otherwise `true`/`false` for\n if the data represented by the time is typically compressible.\n- `extensions` - include an array of file extensions that are associated with\n the type.\n- `notes` - human-readable notes about the type, typically what the type is.\n- `sources` - include an array of URLs of where the MIME type and the associated\n extensions are sourced from. This needs to be a [primary source](https://en.wikipedia.org/wiki/Primary_source);\n links to type aggregating sites and Wikipedia are _not acceptible_.\n\nTo update the build, run `npm run build`.\n\n## Adding Custom Media Types\n\nThe best way to get new media types included in this library is to register\nthem with the IANA. The community registration procedure is outlined in\n[RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types\nregistered with the IANA are automatically pulled into this library.\n\n[npm-version-image]: https://img.shields.io/npm/v/mime-db.svg\n[npm-downloads-image]: https://img.shields.io/npm/dm/mime-db.svg\n[npm-url]: https://npmjs.org/package/mime-db\n[travis-image]: https://img.shields.io/travis/jshttp/mime-db/master.svg\n[travis-url]: https://travis-ci.org/jshttp/mime-db\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/mime-db/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master\n[node-image]: https://img.shields.io/node/v/mime-db.svg\n[node-url]: http://nodejs.org/download/\n", |
| "readmeFilename": "README.md", |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/jshttp/mime-db.git" |
| }, |
| "scripts": { |
| "build": "node scripts/build", |
| "fetch": "gnode scripts/fetch-apache && gnode scripts/fetch-iana && gnode scripts/fetch-nginx", |
| "lint": "eslint .", |
| "test": "mocha --reporter spec --bail --check-leaks test/", |
| "test-cov": "nyc --reporter=html --reporter=text npm test", |
| "test-travis": "nyc --reporter=text npm test", |
| "update": "npm run fetch && npm run build" |
| }, |
| "version": "1.30.0" |
| } |