RunKit + npm: adm-zip

node v10.24.1
endpointsharetweet
var admzip = require("adm-zip") var zip = new admzip(); var txt = "aaaaaaaaaaaaaaaaaaaa"; zip.addFile("tmp.txt", txt); var zipData = zip.toBuffer(); console.log(zip.getEntries()[0].toString());
Created from: https://npm.runkit.com/adm-zip
Loading…