leonardsims
Results
2
comments of
leonardsims
var zip = new JSZip(); zip.file("Hello.txt", "Hello World\n"); var img = zip.folder("images"); img.file("smile.gif", imgData, {base64: true}); zip.generateAsync({type:"blob"}) .then(function(content) { // see FileSaver.js saveAs(content, "example.zip"); }); I tested for this source...
I tried that but It didn't work. I think blob type is not working at Safari.