1.0.0 • Published 9 years ago

extract-archive v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

extract-archive Circle CI

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

Circle CI

$ make test

License

extract-archive is released under the MIT license.