README
extract-archive
Extract a tar.gz archive.
Simply wraps tar
.
Installation
$ npm install extract-archive --save
Usage
const extract = require('extract-archive');
extract('some.tar.gz').then(function (dirPath) {
// done!
});
// set destination directory
extract('some.tar.gz', 'output-directory').then(function () {
// done!
});
// use with generators
yield extract('some.tar.gz');
Tests
$ make test
License
extract-archive is released under the MIT license.