Nanoseconds Produce Minutes
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

gulp-tar

3.1.0 • Public • Published

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');
 
exports.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 options passed to Archiver's constructor and merged into the data passed to its append method.

Install

npm i gulp-tar

DownloadsWeekly Downloads

10,091

Version

3.1.0

License

MIT

Unpacked Size

4.24 kB

Total Files

4

Last publish

Collaborators

  • avatar