Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

decompress-unzip

4.0.1 • Public • Published

decompress-unzip Build Status

zip decompress plugin

Install

$ npm install --save decompress-unzip

Usage

const decompress = require('decompress');
const decompressUnzip = require('decompress-unzip');
 
decompress('unicorn.zip', 'dist', {
    plugins: [
        decompressUnzip()
    ]
}).then(() => {
    console.log('Files decompressed');
});

API

decompressUnzip()(buf)

buf

Type: Buffer

Buffer to decompress.

License

MIT © Kevin Mårtensson

Install

npm i decompress-unzip

DownloadsWeekly Downloads

2,970,083

Version

4.0.1

License

MIT

Last publish

Collaborators

  • avatar
  • avatar