Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

decompress-unzip

kevva9.5mMIT4.0.1

decompress zip plugin

decompress, decompressplugin, extract, zip

readme

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