An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# unzip-maybe

[![js-standard-style](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/feross/standard)
[![build status](https://api.travis-ci.org/JamesKyburz/unzip-maybe.svg)](https://travis-ci.org/JamesKyburz/unzip-maybe)
[![downloads](https://img.shields.io/npm/dm/unzip-maybe.svg)](https://npmjs.org/package/unzip-maybe)
[![Greenkeeper badge](https://badges.greenkeeper.io/JamesKyburz/unzip-maybe.svg)](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)