Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fritx/cross-unzip

Cross-platform 'native' unzip in Node.js
https://github.com/fritx/cross-unzip

cross unix unzip windows zip

Last synced: 2 months ago
JSON representation

Cross-platform 'native' unzip in Node.js

Awesome Lists containing this project

README

        

# cross-unzip

      

See also: [win-7zip](https://github.com/fritx/win-7zip), [feross/cross-zip](https://github.com/feross/cross-zip)

- [x] Tested on OSX
- [x] Tested on Windows
- [x] Zip compress/decompress
- [ ] Progress feedback

```plain
$ npm install cross-unzip
$ npm install win-7zip # Windows support
```

```js
let { zip, unzip } = require('cross-unzip')

// extract files
unzip('some/archive.zip', 'some/dir', err => {
// done
})

// compress files
zip('some/dir', 'some/archive.zip', err => {
// done
})
```