easyzip

easy to zip and unzip on node

Usage no npm install needed!

<script type="module">
  import easyzip from 'https://cdn.skypack.dev/easyzip';
</script>

README

easyzip

var easyzip=require('easyzip');

zip a dir,can use

dirzip(dirpath,zippath,callback)

zippath can be null , if null the zip file will create on tem dir

callback(err,zip_path)

zip a dir and async

dirzipAsync(dirpath,zippath).then(path).catch(err)

update

  • 2016.12.26 | v1.0.1 | mac系统上使用压缩
  • 2015.12.27 | v1.0.3 | win系统上使用压缩