From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/gulp-zip/readme.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'node_modules/gulp-zip/readme.md') diff --git a/node_modules/gulp-zip/readme.md b/node_modules/gulp-zip/readme.md index ad01564f9..9873f7088 100644 --- a/node_modules/gulp-zip/readme.md +++ b/node_modules/gulp-zip/readme.md @@ -16,11 +16,11 @@ $ npm install --save-dev gulp-zip const gulp = require('gulp'); const zip = require('gulp-zip'); -gulp.task('default', () => { - return gulp.src('src/*') +gulp.task('default', () => + gulp.src('src/*') .pipe(zip('archive.zip')) - .pipe(gulp.dest('dist')); -}); + .pipe(gulp.dest('dist')) +); ``` @@ -28,7 +28,7 @@ gulp.task('default', () => { Supports [streaming mode](https://github.com/gulpjs/gulp/blob/master/docs/API.md#optionsbuffer). -### zip(filename, options) +### zip(filename, [options]) #### filename @@ -36,6 +36,8 @@ Type: `string` #### options +Type: `Object` + ##### compress Type: `boolean`
@@ -44,4 +46,4 @@ Default: `true` ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) -- cgit v1.2.3