最終更新:2019-06-26 (水) 22:00:49 (1759d)
JSZip
Top / JSZip
Create .zip? files with JavaScript
var zip = new JSZip(); zip.add("Hello.txt", "Hello World\n"); img = zip.folder("images"); img.add("smile.gif", imgData, {base64: true}); content = zip.generate(); location.href="data:application/zip;base64,"+content