https://github.com/jameskyburz/unzip-maybe
Transform stream that unzips a azip or just echoes it if not.
https://github.com/jameskyburz/unzip-maybe
node stream unzip
Last synced: 5 months ago
JSON representation
Transform stream that unzips a azip or just echoes it if not.
- Host: GitHub
- URL: https://github.com/jameskyburz/unzip-maybe
- Owner: JamesKyburz
- License: apache-2.0
- Created: 2019-01-15T12:26:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-08T05:07:10.000Z (over 4 years ago)
- Last Synced: 2025-02-13T05:45:02.800Z (11 months ago)
- Topics: node, stream, unzip
- Language: JavaScript
- Homepage: https://npm.im/unzip-maybe
- Size: 728 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unzip-maybe
[](https://github.com/feross/standard)
[](https://travis-ci.org/JamesKyburz/unzip-maybe)
[](https://npmjs.org/package/unzip-maybe)
[](https://greenkeeper.io/)
Transform stream that unzips a zip or returns a through stream if not.
Thanks to [gunzip-maybe!](https://github.com/mafintosh/gunzip-maybe)
### usage
```javascript
const unzip = require('unzip-maybe')
source.pipe(unzip()).pipe(destination)
```
# license
[Apache License, Version 2.0](LICENSE)