I want to download a zip file from the internet and unzip it in memory without saving to a temporary file. How can I do this?
Here is what I tried:
v
Two days ago the module node-zip has been released, which is a wrapper for the JavaScript only version of Zip: JSZip.
node-zip
var NodeZip = require('node-zip') , zip = new NodeZip(zipBuffer.toString("base64"), { base64: true }) , unzipped = zip.files["your-text-file.txt"].data;