2.0.0 • Published 9 years ago
archive-directory v2.0.0
archive-directory
Create a tar.gz archive from a directory.
Simply wraps tar
.
Installation
$ npm install archive-directory --save
Usage
const archive = require('archive-directory');
archive('some-folder').then(function (archivePath) {
// done
});
// also use with generators
let archivePath = yield archive('some-folder');
Tests
$ make test
License
archive-directory is released under the MIT license.