Socket
Socket
Sign inDemoInstall

gulp-decompress

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

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
86K
decreased by-3.55%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 20 Oct 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc