Wondering what’s next for npm?Check out our public roadmap! »

    decompress-bzip2

    4.0.0 • Public • Published

    decompress-bzip2 Build Status

    bzip2 decompress plugin

    Install

    $ npm install --save decompress-bzip2
    

    Usage

    const decompress = require('decompress');
    const decompressBzip2 = require('decompress-bzip2');
     
    decompress('unicorn.jpg.bz2', 'dist', {
        plugins: [
            decompressBzip2({path: 'unicorn.jpg'})
        ]
    }).then(() => {
        console.log('Files decompressed');
    });

    API

    decompressBzip2()(input)

    input

    Type: Buffer

    Buffer to decompress.

    License

    MIT © Kevin Mårtensson

    Install

    npm i decompress-bzip2

    DownloadsWeekly Downloads

    359

    Version

    4.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar