extrakt

    1.0.8 • Public • Published

    extrakt

    Extract .tar and .tar.gz using the system binary (fast!), with a javascript fallback (portable!)

    Makes a great team with nectar.

    Build Status NPM Version

    Install

    $ npm install --save extrakt
    

    Usage

    const extrakt = require('extrakt');
     
    extrakt('path/to/archive.tar.gz', 'output/directory');

    API

    extrakt(archive, extractTo)

    Extract the archive at the given path archive to the extractTo directory (which will be created if it does not exist).

    Returns a Promise for the completion of the extraction.

    archive

    Type: string

    Path to the archive

    extractTo

    Type: string

    Destination directory

    License

    MIT © sgtlambda

    dependency Status devDependency Status

    Install

    npm i extrakt

    DownloadsWeekly Downloads

    22

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    4.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • jmversteeg