Detalhes do pacote

cross-unzip

fritx81.7kGNU LGPL0.2.1

Cross-platform 'native' unzip in Node.js

7zip, 7z, zip, unzip

readme (leia-me)

cross-unzip

        

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

  • [x] Tested on OSX
  • [x] Tested on Windows
  • [x] Zip compress/decompress
  • [ ] Progress feedback
$ 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
})