x-jszip-kit
v1.0.1
Published
``` import downloadAndZipFiles from 'z-zip-kit' ```
Downloads
4
Readme
how to use
import downloadAndZipFiles from 'z-zip-kit'
const files = [{
url:'xxx',
path: 'xx/x/xx'
}]
const fileName = 'xxx.zip'
const progressFn = (v1, v2) => {
}
const password = null
downloadAndZipFiles(files, fileName, progressFn, password).then(() => {
alert('download successful!')
})