You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
rdrew 1440706ce3 fixed gulp 6 years ago
..
index.js fixed gulp 6 years ago
license fixed gulp 6 years ago
package.json fixed gulp 6 years ago
readme.md fixed gulp 6 years ago

readme.md

gulp-decompress Build Status

Extract TAR, TAR.BZ2, TAR.GZ and ZIP archives using decompress

Install

$ npm install --save gulp-decompress

Usage

var decompress = require('gulp-decompress');
var gulp = require('gulp');

gulp.task('default', function () {
	return gulp.src('*.{tar,tar.bz2,tar.gz,zip}')
		.pipe(decompress({strip: 1}))
		.pipe(gulp.dest('dist'));
});

Options

mode

Type: string

Set mode on the extracted files, i.e {mode: '755'}.

strip

Type: number

Equivalent to --strip-components for tar.

License

MIT © Kevin Mårtensson