Extract
.tar
and.tar.gz
using the system binary (fast!), with a javascript fallback (portable!)
Makes a great team with nectar.
$ npm install --save extrakt
const extrakt = require('extrakt');
extrakt('path/to/archive.tar.gz', 'output/directory');
Extract the archive at the given archive
path to the extractTo
directory.
Returns a Promise for the completion of the extraction.
Type: string
Path to the archive
Type: string
Destination directory
MIT © sgtlambda