gulp-tar
Create tarball from files
Last updated 8 months ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-tar 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 3.1.0                                ...           latest (8 months ago)

24 Versions

  • 3.1.0                                ...           8 months ago
  • 3.0.1                                ...           9 months ago
  • 3.0.0                                ...           a year ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.9.0                                ...           4 years ago
  • 1.8.0                                ...           5 years ago
  • 1.7.0                                ...           5 years ago
  • 1.6.0                                ...           5 years ago
  • 1.5.0                                ...           5 years ago
  • 1.4.0                                ...           5 years ago
  • 1.3.2                                ...           6 years ago
  • 1.3.1                                ...           6 years ago
  • 1.3.0                                ...           6 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.5.1                                ...           6 years ago
  • 0.5.0                                ...           6 years ago
  • 0.4.0                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           7 years ago

Copyright 2014 - 2016 © taobao.org |