Skip to content

dcwarwick/gulp-decompress

 
 

Repository files navigation

gulp-decompress Build Status

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

Install

$ npm install --save gulp-decompress

Usage

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

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

Options

See the decompress options.

License

MIT © Kevin Mårtensson

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%