fritx / cross-unzip

Cross-platform 'native' unzip in Node.js
https://www.npmjs.com/package/cross-unzip
17 stars 4 forks source link
cross unix unzip windows zip

cross-unzip

      

See also: win-7zip, feross/cross-zip

$ npm install cross-unzip
$ npm install win-7zip  # Windows support
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
})