var fs = require("fs");
zip.file("test.txt", "hello there");
var data = zip.generate({base64:false,compression:"DEFLATE"});
fs.writeFileSync("test.zip", data, "binary");
using FileSaver.js
saveAs(data,"Test.zip");
or
saveAs(new Blob([data]),"Test.zip");
using FileSaver.js
saveAs(data,"Test.zip");
orsaveAs(new Blob([data]),"Test.zip");
does not work