Let us create a helloworld ZIP file which contains two text files, hello1.txt and hello2.txt.
Step 2. Generate Hello world ZIP
Check the online demo.
If you have tried above demo in Firefox or Safari, you may have noticed the file that is generated has weird name: e.g. b77AewqA7.zip.part. This is because of existing bugs 367231 and 532230. However jszip comes with a unique workaround of this problem by using Downloadify.