gulp-tar

Create tarball from files

npm install gulp-tar
6 downloads in the last day
29 downloads in the last week
168 downloads in the last month

gulp-tar Build Status

Create tarball) from files

Install

$ npm install --save-dev gulp-tar

Usage

var gulp = require('gulp');
var tar = require('gulp-tar');
var gzip = require('gulp-gzip');

gulp.task('default', function () {
    gulp.src('src/*')
        .pipe(tar('archive.tar'))
        .pipe(gzip())
        .pipe(gulp.dest('dist'));
});

API

tar(filename, options)

filename filename for the output tar archive
options default file headers passed to tar-stream

License

MIT © Sindre Sorhus

npm loves you