gulp-zip
ZIP compress files
npm install gulp-zip
Want to see pretty graphs? Log in now!
| 60 | downloads in the last day |
| 1 264 | downloads in the last week |
| 5 843 | downloads in the last month |
| Last Published By | |
|---|---|
| Version | 2.0.2 last updated a month ago |
| License | MIT |
| Keywords | gulpplugin, zip, archive, archiver, compress, compression, file |
| Repository | https://github.com/sindresorhus/gulp-zip (git) |
| Homepage | https://github.com/sindresorhus/gulp-zip |
| Bugs | https://github.com/sindresorhus/gulp-zip/issues |
| Dependencies | chalk, gulp-util, jszip, through2 |
| Dependents | moekit, secret-service, spm, vastl, zpm |
| Starred by (6) | abhisekp, evanportwood, fjaguero, rexfun, shawnsandy, zibe |
gulp-zip 
ZIP compress files
Install
$ npm install --save-dev gulp-zip
Usage
var gulp = require('gulp');
var zip = require('gulp-zip');
gulp.task('default', function () {
return gulp.src('src/*')
.pipe(zip('archive.zip'))
.pipe(gulp.dest('dist'));
});
API
zip(filename, options)
filename
Required
Type: string
options
compress
Type: boolean
Default: true
comment
Type: string
Text information embedded in the zip file.
License
MIT © Sindre Sorhus