gd

gulp-decompress

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

Showing:

Readme

gulp-decompress Build Status

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

Install

$ npm install gulp-decompress

Usage

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

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

Options

See the decompress options.