{"_id":"decompress-maybe","_rev":"3290685","name":"decompress-maybe","description":"Transform stream that decompress its input if it's compressed, and echoes it if not","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"piranna","email":"piranna@gmail.com"}],"time":{"modified":"2024-05-23T06:50:12.000Z","created":"2016-08-22T09:02:46.873Z","1.1.0":"2023-06-03T19:14:27.574Z","1.0.0":"2016-08-22T09:02:46.873Z"},"users":{},"author":{"name":"Jesús Leganés-Combarro 'piranna'","email":"piranna@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/piranna/decompress-maybe.git"},"versions":{"1.1.0":{"name":"decompress-maybe","version":"1.1.0","description":"Transform stream that decompress its input if it's compressed, and echoes it if not","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/piranna/decompress-maybe.git"},"keywords":["decompress","inflate","gunzip","bzip2","zstd","stream","decompress-maybe"],"author":{"name":"Jesús Leganés-Combarro 'piranna'","email":"piranna@gmail.com"},"collaborators":["Mathias Buus (@mafintosh)"],"license":"MIT","bugs":{"url":"https://github.com/piranna/decompress-maybe/issues"},"homepage":"https://github.com/piranna/decompress-maybe#readme","dependencies":{"bzip2-maybe":"^1.0.0","gunzip-maybe":"^1.4.2","pumpify":"^2.0.1","simple-zstd":"^1.4.2"},"gitHead":"691ccb9018aa28b25d3524a55b1d0822618020dc","_id":"decompress-maybe@1.1.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"shasum":"747811710850db9b6dfd1c8a0a6d3f76a4bd2671","size":1804,"noattachment":false,"key":"/decompress-maybe/-/decompress-maybe-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decompress-maybe/download/decompress-maybe-1.1.0.tgz"},"_npmUser":{"name":"piranna","email":"piranna@gmail.com"},"directories":{},"maintainers":[{"name":"piranna","email":"piranna@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-maybe_1.1.0_1685819667422_0.3207102499531953"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-03T19:14:27.574Z","publish_time":1685819667574,"_source_registry_name":"default","_cnpm_publish_time":1685819667574},"1.0.0":{"name":"decompress-maybe","version":"1.0.0","description":"Transform stream that decompress its input if it's compressed, and echoes it if not","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/piranna/decompress-maybe.git"},"keywords":["decompress","gunzip","bzip2","stream"],"author":{"name":"Jesús Leganés-Combarro 'piranna'","email":"piranna@gmail.com"},"collaborators":["Mathias Buus (@mafintosh)"],"license":"MIT","bugs":{"url":"https://github.com/piranna/decompress-maybe/issues"},"homepage":"https://github.com/piranna/decompress-maybe#readme","dependencies":{"bzip2-maybe":"^1.0.0","gunzip-maybe":"^1.3.1","pumpify":"^1.3.5"},"gitHead":"152aa1bfe97537f9e91af3a88818729e5ae7ba10","_id":"decompress-maybe@1.0.0","_shasum":"adfe78c66cc069e64e824bd1405b85e75e6d1cbb","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"piranna","email":"piranna@gmail.com"},"dist":{"shasum":"adfe78c66cc069e64e824bd1405b85e75e6d1cbb","size":1872,"noattachment":false,"key":"/decompress-maybe/-/decompress-maybe-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/decompress-maybe/download/decompress-maybe-1.0.0.tgz"},"maintainers":[{"name":"piranna","email":"piranna@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/decompress-maybe-1.0.0.tgz_1471856565121_0.26766322972252965"},"directories":{},"publish_time":1471856566873,"_cnpm_publish_time":1471856566873,"_hasShrinkwrap":false}},"readme":"# decompress-maybe\n\nTransform stream that decompress its input if it's compressed, and echoes it if\nnot\n\nThis module accept a stream compressed using `gunzip` or `bzip2` formats and\noutput the decompressed stream. In case the input stream was already\ndecompressed it returns it as-is. More compression formats could be added in the\nfuture, pull-requests are welcome :-)\n\nThis is a collaboration project between Mathias Buss\n\"[mafintosh](https://mafinto.sh)\" and Jesús Leganés-Combarro\n\"[piranna](https://piranna.github.io)\".\n\n## Supported algorithms\n\n- [ ] `brotli`. **Help wanted**, see\n      <https://github.com/piranna/decompress-maybe/issues/2#issuecomment-1575136739>\n- [x] `bzip2`, using [bzip2-maybe](https://www.npmjs.com/package/bzip2-maybe)\n- [x] `unzip`, not the\n      [Node.js native](https://nodejs.org/api/zlib.html#class-zlibunzip) one,\n      but provided by [gunzip-maybe](https://github.com/mafintosh/gunzip-maybe)\n      instead. See <https://github.com/mafintosh/gunzip-maybe/issues/10>\n  - [x] `gunzip`\n  - [x] `inflate`\n- [x] `zstd`, using [simple-zstd](https://www.npmjs.com/package/simple-zstd)\n","_attachments":{},"homepage":"https://github.com/piranna/decompress-maybe#readme","bugs":{"url":"https://github.com/piranna/decompress-maybe/issues"},"license":"MIT"}