package.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "mime-db@~1.27.0",
  6. "scope": null,
  7. "escapedName": "mime-db",
  8. "name": "mime-db",
  9. "rawSpec": "~1.27.0",
  10. "spec": ">=1.27.0 <1.28.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/mime-types"
  14. ]
  15. ],
  16. "_from": "mime-db@>=1.27.0 <1.28.0",
  17. "_id": "mime-db@1.27.0",
  18. "_inCache": true,
  19. "_location": "/mime-db",
  20. "_nodeVersion": "4.7.3",
  21. "_npmOperationalInternal": {
  22. "host": "packages-12-west.internal.npmjs.com",
  23. "tmp": "tmp/mime-db-1.27.0.tgz_1489722296902_0.15233952621929348"
  24. },
  25. "_npmUser": {
  26. "name": "dougwilson",
  27. "email": "doug@somethingdoug.com"
  28. },
  29. "_npmVersion": "2.15.11",
  30. "_phantomChildren": {},
  31. "_requested": {
  32. "raw": "mime-db@~1.27.0",
  33. "scope": null,
  34. "escapedName": "mime-db",
  35. "name": "mime-db",
  36. "rawSpec": "~1.27.0",
  37. "spec": ">=1.27.0 <1.28.0",
  38. "type": "range"
  39. },
  40. "_requiredBy": [
  41. "/mime-types"
  42. ],
  43. "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.27.0.tgz",
  44. "_shasum": "820f572296bbd20ec25ed55e5b5de869e5436eb1",
  45. "_shrinkwrap": null,
  46. "_spec": "mime-db@~1.27.0",
  47. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/mime-types",
  48. "bugs": {
  49. "url": "https://github.com/jshttp/mime-db/issues"
  50. },
  51. "contributors": [
  52. {
  53. "name": "Douglas Christopher Wilson",
  54. "email": "doug@somethingdoug.com"
  55. },
  56. {
  57. "name": "Jonathan Ong",
  58. "email": "me@jongleberry.com",
  59. "url": "http://jongleberry.com"
  60. },
  61. {
  62. "name": "Robert Kieffer",
  63. "email": "robert@broofa.com",
  64. "url": "http://github.com/broofa"
  65. }
  66. ],
  67. "dependencies": {},
  68. "description": "Media Type Database",
  69. "devDependencies": {
  70. "bluebird": "3.5.0",
  71. "co": "4.6.0",
  72. "cogent": "1.0.1",
  73. "csv-parse": "1.2.0",
  74. "eslint": "3.17.1",
  75. "eslint-config-standard": "7.0.1",
  76. "eslint-plugin-promise": "3.5.0",
  77. "eslint-plugin-standard": "2.1.1",
  78. "gnode": "0.1.2",
  79. "istanbul": "0.4.5",
  80. "mocha": "1.21.5",
  81. "raw-body": "2.2.0",
  82. "stream-to-array": "2.3.0"
  83. },
  84. "directories": {},
  85. "dist": {
  86. "shasum": "820f572296bbd20ec25ed55e5b5de869e5436eb1",
  87. "tarball": "https://registry.npmjs.org/mime-db/-/mime-db-1.27.0.tgz"
  88. },
  89. "engines": {
  90. "node": ">= 0.6"
  91. },
  92. "files": [
  93. "HISTORY.md",
  94. "LICENSE",
  95. "README.md",
  96. "db.json",
  97. "index.js"
  98. ],
  99. "gitHead": "c232c21378647dfbb7762410c7b025a47f114b94",
  100. "homepage": "https://github.com/jshttp/mime-db#readme",
  101. "keywords": [
  102. "mime",
  103. "db",
  104. "type",
  105. "types",
  106. "database",
  107. "charset",
  108. "charsets"
  109. ],
  110. "license": "MIT",
  111. "maintainers": [
  112. {
  113. "name": "dougwilson",
  114. "email": "doug@somethingdoug.com"
  115. },
  116. {
  117. "name": "jongleberry",
  118. "email": "jonathanrichardong@gmail.com"
  119. }
  120. ],
  121. "name": "mime-db",
  122. "optionalDependencies": {},
  123. "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\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",
  124. "readmeFilename": "README.md",
  125. "repository": {
  126. "type": "git",
  127. "url": "git+https://github.com/jshttp/mime-db.git"
  128. },
  129. "scripts": {
  130. "build": "node scripts/build",
  131. "fetch": "gnode scripts/fetch-apache && gnode scripts/fetch-iana && gnode scripts/fetch-nginx",
  132. "lint": "eslint .",
  133. "test": "mocha --reporter spec --bail --check-leaks test/",
  134. "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
  135. "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
  136. "update": "npm run fetch && npm run build"
  137. },
  138. "version": "1.27.0"
  139. }