UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

112 lines (111 loc) 3.9 kB
{ "_args": [ [ { "raw": "gunzip-maybe@^1.3.1", "scope": null, "escapedName": "gunzip-maybe", "name": "gunzip-maybe", "rawSpec": "^1.3.1", "spec": ">=1.3.1 <2.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/decompress-maybe" ] ], "_from": "gunzip-maybe@>=1.3.1 <2.0.0", "_id": "gunzip-maybe@1.4.1", "_inCache": true, "_location": "/gunzip-maybe", "_nodeVersion": "8.1.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/gunzip-maybe-1.4.1.tgz_1499429366312_0.4765503176022321" }, "_npmUser": { "name": "mafintosh", "email": "mathiasbuus@gmail.com" }, "_npmVersion": "5.0.3", "_phantomChildren": {}, "_requested": { "raw": "gunzip-maybe@^1.3.1", "scope": null, "escapedName": "gunzip-maybe", "name": "gunzip-maybe", "rawSpec": "^1.3.1", "spec": ">=1.3.1 <2.0.0", "type": "range" }, "_requiredBy": [ "/decompress-maybe" ], "_resolved": "https://registry.npmjs.org/gunzip-maybe/-/gunzip-maybe-1.4.1.tgz", "_shasum": "39c72ed89d1b49ba708e18776500488902a52027", "_shrinkwrap": null, "_spec": "gunzip-maybe@^1.3.1", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/decompress-maybe", "author": { "name": "Mathias Buus", "url": "@mafintosh" }, "bin": { "gunzip-maybe": "./bin.js" }, "browser": { "zlib": "browserify-zlib" }, "bugs": { "url": "https://github.com/mafintosh/gunzip-maybe/issues" }, "coordinates": [ 55.6666904, 12.5797771 ], "dependencies": { "browserify-zlib": "^0.1.4", "is-deflate": "^1.0.0", "is-gzip": "^1.0.0", "peek-stream": "^1.1.0", "pumpify": "^1.3.3", "through2": "^2.0.3" }, "description": "Transform stream that gunzips its input if it is gzipped and just echoes it if not", "devDependencies": { "concat-stream": "^1.4.5", "standard": "^9.0.0", "tape": "^4.6.3" }, "directories": {}, "dist": { "integrity": "sha512-qtutIKMthNJJgeHQS7kZ9FqDq59/Wn0G2HYCRNjpup7yKfVI6/eqwpmroyZGFoCYaG+sW6psNVb4zoLADHpp2g==", "shasum": "39c72ed89d1b49ba708e18776500488902a52027", "tarball": "https://registry.npmjs.org/gunzip-maybe/-/gunzip-maybe-1.4.1.tgz" }, "gitHead": "9de9c3506bdca6a112625a9417582e8ad0c7d21d", "homepage": "https://github.com/mafintosh/gunzip-maybe", "license": "MIT", "main": "index.js", "maintainers": [ { "name": "mafintosh", "email": "mathiasbuus@gmail.com" }, { "name": "watson", "email": "w@tson.dk" } ], "name": "gunzip-maybe", "optionalDependencies": {}, "readme": "# gunzip-maybe\n\nTransform stream that gunzips its input if it is gzipped and just echoes it if not.\n\n```\nnpm install gunzip-maybe\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/gunzip-maybe.svg?style=flat)](http://travis-ci.org/mafintosh/gunzip-maybe)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n## Usage\n\nSimply pipe a gzipped (or not gzipped) stream to `gunzip([maxRecursion = 3])` and read the unzipped content.\n`maxRecursion` protects the unzip mechanism from an infinite recursion in case of a malicious archive.\n\n``` js\n// this will gunzip gzippedStream\ngzippedStream.pipe(gunzip()).pipe(process.stdout);\n\n// this will just echo plainTextStream\nplainTextStream.pipe(gunzip()).pipe(process.stdout);\n```\n\n## CLI usage\n\n```\nnpm install -g gunzip-maybe\ngunzip-maybe --help # will print out usage\n```\n\n\n## License\n\nMIT\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/mafintosh/gunzip-maybe.git" }, "scripts": { "test": "standard && tape test.js" }, "version": "1.4.1" }