{
  "name": "compression",
  "description": "Compression middleware for connect and node.js",
  "version": "1.0.7",
  "author": {
    "name": "Jonathan Ong",
    "email": "me@jongleberry.com",
    "url": "http://jongleberry.com"
  },
  "contributors": [
    {
      "name": "Douglas Christopher Wilson",
      "email": "doug@somethingdoug.com"
    }
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/expressjs/compression"
  },
  "dependencies": {
    "accepts": "1.0.3",
    "bytes": "1.0.0",
    "compressible": "1.1.0",
    "on-headers": "0.0.0",
    "vary": "0.1.0"
  },
  "devDependencies": {
    "istanbul": "0.2.10",
    "mocha": "~1.20.1",
    "supertest": "~0.13.0",
    "should": "~4.0.1"
  },
  "engines": {
    "node": ">= 0.8.0"
  },
  "scripts": {
    "test": "mocha --check-leaks --reporter dot",
    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot",
    "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec"
  },
  "readme": "# compression\n\n[![NPM version](https://badge.fury.io/js/compression.svg)](http://badge.fury.io/js/compression)\n[![Build Status](https://travis-ci.org/expressjs/compression.svg?branch=master)](https://travis-ci.org/expressjs/compression)\n[![Coverage Status](https://img.shields.io/coveralls/expressjs/compression.svg?branch=master)](https://coveralls.io/r/expressjs/compression)\n\nNode.js compression middleware.\n\n## API\n\n```js\nvar express     = require('express')\nvar compression = require('compression')\n\nvar app = express()\napp.use(compression())\n```\n\n### compression(options)\n\nReturns the compression middleware using the given `options`.\n\n```js\napp.use(compression({\n  threshold: 512\n}))\n```\n\n#### Options\n\n- `threshold` `<1kb>` - response is only compressed if the byte size is at or above this threshold.\n- `filter` - a filtering callback function. Uses [Compressible](https://github.com/expressjs/compressible) by default.\n\nIn addition to these, [zlib](http://nodejs.org/api/zlib.html) options may be passed in to the options object.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Jonathan Ong me@jongleberry.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/expressjs/compression/issues"
  },
  "homepage": "https://github.com/expressjs/compression",
  "_id": "compression@1.0.7",
  "_shasum": "fc4bff261df4e37a130006f2db2a99a34896f55a",
  "_from": "compression@1.0.7",
  "_resolved": "https://registry.npmjs.org/compression/-/compression-1.0.7.tgz"
}
