Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-jszip

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jszip

gulp-jszip is a packaged all of the following files in the specified folder tools, output to the specified location and generate zip file

  • 0.1.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Gulp.js: gulp-jszip

gulp-jszip是一个打包指定文件夹下面所有的内容的gulp插件,在指定位置生成zip文件.

安装(Installation)

npm install --save gulp-jszip

使用(Usage)

var zip = require('gulp-jszip') 

参数(Methods)

name:String,生成的zip文件名,default:dist.zip

outpath:String,生成的zip文件位置,default:dist(和gulpfile同级)

Examples(in gulpfile):

// 引入 gulp
var gulp = require("gulp");
// 引入组件
var zip = require("gulp-jszip");
gulp.task("zip", function() {
    return gulp.src("./src/*")
        .pipe(zip({
            name: "demo.zip",
            outpath: "./dist"
        }));
})

Run:

gulp zip

License

Licensed under MIT

Copyright (c) 2014-2015 Roninliu

Keywords

FAQs

Package last updated on 13 Jan 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