| { |
| "_args": [ |
| [ |
| { |
| "raw": "compressible@~2.0.11", |
| "scope": null, |
| "escapedName": "compressible", |
| "name": "compressible", |
| "rawSpec": "~2.0.11", |
| "spec": ">=2.0.11 <2.1.0", |
| "type": "range" |
| }, |
| "/Users/steveng/repo/cordova/cordova-browser/node_modules/compression" |
| ] |
| ], |
| "_from": "compressible@>=2.0.11 <2.1.0", |
| "_id": "compressible@2.0.11", |
| "_inCache": true, |
| "_location": "/compressible", |
| "_nodeVersion": "6.11.1", |
| "_npmOperationalInternal": { |
| "host": "s3://npm-registry-packages", |
| "tmp": "tmp/compressible-2.0.11.tgz_1501207319365_0.11534262751229107" |
| }, |
| "_npmUser": { |
| "name": "dougwilson", |
| "email": "doug@somethingdoug.com" |
| }, |
| "_npmVersion": "3.10.10", |
| "_phantomChildren": {}, |
| "_requested": { |
| "raw": "compressible@~2.0.11", |
| "scope": null, |
| "escapedName": "compressible", |
| "name": "compressible", |
| "rawSpec": "~2.0.11", |
| "spec": ">=2.0.11 <2.1.0", |
| "type": "range" |
| }, |
| "_requiredBy": [ |
| "/compression" |
| ], |
| "_resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.11.tgz", |
| "_shasum": "16718a75de283ed8e604041625a2064586797d8a", |
| "_shrinkwrap": null, |
| "_spec": "compressible@~2.0.11", |
| "_where": "/Users/steveng/repo/cordova/cordova-browser/node_modules/compression", |
| "bugs": { |
| "url": "https://github.com/jshttp/compressible/issues" |
| }, |
| "contributors": [ |
| { |
| "name": "Douglas Christopher Wilson", |
| "email": "doug@somethingdoug.com" |
| }, |
| { |
| "name": "Jonathan Ong", |
| "email": "me@jongleberry.com", |
| "url": "http://jongleberry.com" |
| }, |
| { |
| "name": "Jeremiah Senkpiel", |
| "email": "fishrock123@rocketmail.com", |
| "url": "https://searchbeam.jit.su" |
| } |
| ], |
| "dependencies": { |
| "mime-db": ">= 1.29.0 < 2" |
| }, |
| "description": "Compressible Content-Type / mime checking", |
| "devDependencies": { |
| "eslint": "3.19.0", |
| "eslint-config-standard": "10.2.1", |
| "eslint-plugin-import": "2.7.0", |
| "eslint-plugin-markdown": "1.0.0-beta.6", |
| "eslint-plugin-node": "5.1.1", |
| "eslint-plugin-promise": "3.5.0", |
| "eslint-plugin-standard": "3.0.1", |
| "mocha": "~1.21.5", |
| "nyc": "11.0.3" |
| }, |
| "directories": {}, |
| "dist": { |
| "shasum": "16718a75de283ed8e604041625a2064586797d8a", |
| "tarball": "https://registry.npmjs.org/compressible/-/compressible-2.0.11.tgz" |
| }, |
| "engines": { |
| "node": ">= 0.6" |
| }, |
| "files": [ |
| "HISTORY.md", |
| "LICENSE", |
| "README.md", |
| "index.js" |
| ], |
| "gitHead": "9d52686b8de6d5c64db7ac447bd43d8fe26d7d8b", |
| "homepage": "https://github.com/jshttp/compressible#readme", |
| "keywords": [ |
| "compress", |
| "gzip", |
| "mime", |
| "content-type" |
| ], |
| "license": "MIT", |
| "maintainers": [ |
| { |
| "name": "jongleberry", |
| "email": "jonathanrichardong@gmail.com" |
| }, |
| { |
| "name": "fishrock123", |
| "email": "fishrock123@rocketmail.com" |
| }, |
| { |
| "name": "dougwilson", |
| "email": "doug@somethingdoug.com" |
| } |
| ], |
| "name": "compressible", |
| "optionalDependencies": {}, |
| "readme": "# compressible\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nCompressible `Content-Type` / `mime` checking.\n\n## Installation\n\n```sh\n$ npm install compressible\n```\n\n## API\n\n<!-- eslint-disable no-unused-vars -->\n\n```js\nvar compressible = require('compressible')\n```\n\n### compressible(type)\n\nChecks if the given `Content-Type` is compressible. The `type` argument is expected\nto be a value MIME type or `Content-Type` string, though no validation is performed.\n\nThe MIME is looked up in the [`mime-db`](https://www.npmjs.com/package/mime-db) and\nif there is compressible information in the database entry, that is returned. Otherwise,\nthis module will fallback to `true` for the following types:\n\n * `text/*`\n * `*/*+json`\n * `*/*+text`\n * `*/*+xml`\n\nIf this module is not sure if a type is specifically compressible or specifically\nuncompressible, `undefined` is returned.\n\n<!-- eslint-disable no-undef -->\n\n```js\ncompressible('text/html') // => true\ncompressible('image/png') // => false\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/compressible.svg\n[npm-url]: https://npmjs.org/package/compressible\n[node-version-image]: https://img.shields.io/node/v/compressible.svg\n[node-version-url]: https://nodejs.org/en/download/\n[travis-image]: https://img.shields.io/travis/jshttp/compressible/master.svg\n[travis-url]: https://travis-ci.org/jshttp/compressible\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/compressible/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/compressible?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/compressible.svg\n[downloads-url]: https://npmjs.org/package/compressible\n", |
| "readmeFilename": "README.md", |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/jshttp/compressible.git" |
| }, |
| "scripts": { |
| "lint": "eslint --plugin markdown --ext js,md .", |
| "test": "mocha --reporter spec --bail --check-leaks test/", |
| "test-cov": "nyc --reporter=html --reporter=text npm test", |
| "test-travis": "nyc --reporter=text npm test" |
| }, |
| "version": "2.0.11" |
| } |