Socket
Socket
Sign inDemoInstall

gulp-decompress

Package Overview
Dependencies
169
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-decompress

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


Version published
Weekly downloads
73K
decreased by-22.86%
Maintainers
2
Install size
2.45 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 20 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc