install:npm i -save easyzip
var easyzip=require('easyzip');
dirzip(dirpath,zippath,callback)
callback(err,zip_path)
dirzipAsync(dirpath,zippath).then(path).catch(err)
- 2016.12.26 | v1.0.1 | mac系统上使用压缩
- 2015.12.27 | v1.0.3 | win系统上使用压缩
| Name | Name | Last commit date | ||
|---|---|---|---|---|
install:npm i -save easyzip
var easyzip=require('easyzip');
dirzip(dirpath,zippath,callback)
callback(err,zip_path)
dirzipAsync(dirpath,zippath).then(path).catch(err)