Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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

1,129,841

version

4.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability