UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

116 lines (115 loc) 3.76 kB
{ "_args": [ [ { "raw": "decompress-response@^3.3.0", "scope": null, "escapedName": "decompress-response", "name": "decompress-response", "rawSpec": "^3.3.0", "spec": ">=3.3.0 <4.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/got" ] ], "_from": "decompress-response@>=3.3.0 <4.0.0", "_id": "decompress-response@3.3.0", "_inCache": true, "_location": "/decompress-response", "_nodeVersion": "4.8.3", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/decompress-response-3.3.0.tgz_1496432627972_0.16955837607383728" }, "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "2.15.11", "_phantomChildren": {}, "_requested": { "raw": "decompress-response@^3.3.0", "scope": null, "escapedName": "decompress-response", "name": "decompress-response", "rawSpec": "^3.3.0", "spec": ">=3.3.0 <4.0.0", "type": "range" }, "_requiredBy": [ "/got" ], "_resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "_shasum": "80a4dd323748384bfa248083622aedec982adff3", "_shrinkwrap": null, "_spec": "decompress-response@^3.3.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/got", "bugs": { "url": "https://github.com/sindresorhus/decompress-response/issues" }, "dependencies": { "mimic-response": "^1.0.0" }, "description": "Decompress a HTTP response if needed", "devDependencies": { "ava": "*", "get-stream": "^3.0.0", "pify": "^3.0.0", "xo": "*" }, "directories": {}, "dist": { "shasum": "80a4dd323748384bfa248083622aedec982adff3", "tarball": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz" }, "engines": { "node": ">=4" }, "files": [ "index.js" ], "gitHead": "dcd62471a9758f970cdcc9a33c104e8d37f366ee", "homepage": "https://github.com/sindresorhus/decompress-response#readme", "keywords": [ "decompress", "response", "http", "https", "zlib", "gzip", "zip", "deflate", "unzip", "ungzip", "incoming", "message", "stream", "compressed" ], "license": "MIT", "maintainers": [ { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, { "name": "Vsevolod Strukchinsky", "email": "floatdrop@gmail.com", "url": "github.com/floatdrop" } ], "name": "decompress-response", "optionalDependencies": {}, "readme": "# decompress-response [![Build Status](https://travis-ci.org/sindresorhus/decompress-response.svg?branch=master)](https://travis-ci.org/sindresorhus/decompress-response)\n\n> Decompress a HTTP response if needed\n\nDecompresses the [response](https://nodejs.org/api/http.html#http_class_http_incomingmessage) from [`http.request`](https://nodejs.org/api/http.html#http_http_request_options_callback) if it's gzipped or deflated, otherwise just passes it through.\n\nUsed by [`got`](https://github.com/sindresorhus/got).\n\n\n## Install\n\n```\n$ npm install decompress-response\n```\n\n\n## Usage\n\n```js\nconst http = require('http');\nconst decompressResponse = require('decompress-response');\n\nhttp.get('http://sindresorhus.com', response => {\n\tresponse = decompressResponse(response);\n});\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/decompress-response.git" }, "scripts": { "test": "xo && ava" }, "version": "3.3.0" }