JSZip is a Javascript library for creating, reading and editing .Zip files, with a lovely and simple API.
macube Hey, I have a question:
What would be the most efficient way to "extract a zip file to a given path"?
Currently, I open the zip file with this plugin, and I read a txt file that is in my zip file that contains a list of names for each file in the zip. Then I do a loop to load each file in the zip as BASE64 into a binary data object, then I use the nwjs plugin to "write file to path" and it does work, but this whole thing is a very slow process. It locks up the whole window for about 20 seconds to deal with 100mb worth of files.
Am I overcomplicating this?
Hi, Any chance you can share the code that you are using to extract a zip files contents?
Thanks