在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):terrierscript/gulp-unzip开源软件地址(OpenSource Url):https://github.com/terrierscript/gulp-unzip开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-unzip
Usagenpm install gulp-unzip --save var unzip = require('gulp-unzip')
gulp.task('filter_sample', function(){
gulp.src("./download/bootstrap-3.1.1-dist.zip")
.pipe(unzip())
.pipe(gulp.dest('./tmp'))
}) OptionsfilterYou can provide a var concat = require('gulp-concat')
var unzip = require('gulp-unzip')
var minimatch = require('minimatch')
gulp.task('filter_sample', function(){
gulp.src("./download/bootstrap-3.1.1-dist.zip")
.pipe(unzip({
filter : function(entry){
return minimatch(entry.path, "**/*.min.css")
}
}))
.pipe(concat("bootstrap.css"))
.pipe(gulp.dest('./tmp'))
}) keepEmptyYou can provide gulp.task('filter_sample', function(){
gulp.src("./download/bootstrap-3.1.1-dist.zip")
.pipe(unzip({ keepEmpty : true }))
//...
}) ContributorsIf you want to contribute to the project, please check de Contribution Guidelines Author Maintainers Contributors
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论