Skip to content

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

Notifications You must be signed in to change notification settings

sgtlambda/extrakt

Repository files navigation

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 archive path to the extractTo directory.

Returns a Promise for the completion of the extraction.

archive

Type: string

Path to the archive

extractTo

Type: string

Destination directory

License

MIT © sgtlambda

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published