Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: adm-zip
node v10.24.1
endpoint
share
tweet
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…
Clone and edit this document