jszip
jszip copied to clipboard
Getting data from file inside zip hard to find in docs
The tutorial, How to read a file, does not elaborate further than opening a .zip file. In the ZipObject API, it also vaguely mentions file() and not much else. Instead, a proper example is hidden at the very bottom of How to use JSZip, which makes the other tutorials feel misleading.
Fully agree. It's also not mentioned that zip.file("hello.txt") can possibly be null.