wallet-core/node_modules/gulp-tar
2016-11-03 01:33:53 +01:00
..
node_modules node_modules 2016-11-03 01:33:53 +01:00
index.js add node_modules to address #4364 2016-10-10 03:43:44 +02:00
license add node_modules to address #4364 2016-10-10 03:43:44 +02:00
package.json node_modules 2016-11-03 01:33:53 +01:00
readme.md add node_modules to address #4364 2016-10-10 03:43:44 +02:00

gulp-tar Build Status

Create tarball from files

Install

$ npm install --save-dev gulp-tar

Usage

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

gulp.task('default', () =>
	gulp.src('src/*')
		.pipe(tar('archive.tar'))
		.pipe(gzip())
		.pipe(gulp.dest('dist'))
);

API

tar(filename, [options])

filename

Type: string

Filename for the output tar archive.

options

Type: object

Default file headers passed to tar-stream.

License

MIT © Sindre Sorhus