{"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":{"integrity":"sha512-o1RX0ACJWXMXoR01LiN+vuKLyJcYgJA0w/ZYN0UCbe5Td62R+WI41hyrHWZzbGfSlkYgPVgGB2O9okeI/keSZQ==","shasum":"747811710850db9b6dfd1c8a0a6d3f76a4bd2671","tarball":"http://registry-npm.ywwl.com/decompress-maybe/download/decompress-maybe-1.1.0.tgz","fileCount":4,"unpackedSize":3384,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1O9eTiCmRHXFnKlRcFAzWjLCC9K8swyza7HKFOrn+VAiEAjusZuCdJnp0TzEf90r8AFDLghEysxVoJNSa/1GgUdbg="}],"size":1804,"noattachment":false,"key":"/decompress-maybe/-/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,"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","publish_time":1685819667574,"_cnpm_publish_time":1685819667574,"dist-tags":{"latest":"1.1.0"}}