{"_id":"bzip2-maybe","_rev":"943882","name":"bzip2-maybe","description":"Transform stream that `bzip2`s its input if it is `bzip2`ped and just echoes it if not","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"piranna","email":"piranna@gmail.com"}],"time":{"modified":"2021-09-23T02:10:29.000Z","created":"2016-08-20T12:28:17.953Z","1.0.0":"2016-08-20T12:28:17.953Z"},"users":{},"author":{"name":"Jesús Leganés-Combarro 'piranna'","email":"piranna@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/piranna/bzip2-maybe.git"},"versions":{"1.0.0":{"name":"bzip2-maybe","description":"Transform stream that `bzip2`s its input if it is `bzip2`ped and just echoes it if not","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/piranna/bzip2-maybe.git"},"license":"MIT","dependencies":{"is-bzip2":"^1.0.0","peek-stream":"^1.1.1","pumpify":"^1.3.5","through2":"^2.0.1","unbzip2-stream":"^1.0.9"},"devDependencies":{"concat-stream":"^1.5.1","standard":"^8.0.0-beta.5","tape":"^4.6.0"},"scripts":{"test":"standard && tape test"},"bin":{"bzip2-maybe":"./bin.js"},"bugs":{"url":"https://github.com/piranna/bzip2-maybe/issues"},"homepage":"https://github.com/piranna/bzip2-maybe","author":{"name":"Jesús Leganés-Combarro 'piranna'","email":"piranna@gmail.com"},"gitHead":"dac8f48cfb78294be22eb598af581ed37a27a0c6","_id":"bzip2-maybe@1.0.0","_shasum":"c9aef7008a6b943cbe99cc617125eb4bd478296b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"piranna","email":"piranna@gmail.com"},"dist":{"shasum":"c9aef7008a6b943cbe99cc617125eb4bd478296b","size":3407,"noattachment":false,"key":"/bzip2-maybe/-/bzip2-maybe-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bzip2-maybe/download/bzip2-maybe-1.0.0.tgz"},"maintainers":[{"name":"piranna","email":"piranna@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bzip2-maybe-1.0.0.tgz_1471696096329_0.8443438808899373"},"directories":{},"publish_time":1471696097953,"_cnpm_publish_time":1471696097953,"_hasShrinkwrap":false}},"readme":"[![build status](http://img.shields.io/travis/piranna/bzip2-maybe.svg?style=flat)](http://travis-ci.org/piranna/bzip2-maybe)\n[![Coverage Status](https://coveralls.io/repos/github/piranna/bzip2-maybe/badge.svg?branch=master)](https://coveralls.io/github/piranna/bzip2-maybe?branch=master)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n# bzip2-maybe\n\nTransform stream that `bzip2`s its input if it is `bzip2`ped and just echoes it\nif not.\n\nThis is based on code from\n[gunzip-maybe](https://github.com/mafintosh/gunzip-maybe)\n\n```sh\nnpm install bzip2-maybe\n```\n\n## Usage\n\nSimply pipe a `bzip2`ped (or not `bgzip2`ped) stream to `bzip2()` function and\nread the un`bzip2`ped content.\n\n```js\n// this will `bzip2` bzip2pedStream\nbzip2pedStream.pipe(bzip2()).pipe(process.stdout);\n\n// this will just echo plainTextStream\nplainTextStream.pipe(bzip2()).pipe(process.stdout);\n```\n\n## CLI usage\n\n```sh\nnpm install -g bzip2-maybe\nbzip2-maybe --help  # will print out usage\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/piranna/bzip2-maybe","bugs":{"url":"https://github.com/piranna/bzip2-maybe/issues"},"license":"MIT"}