title: How to Zip files using JavaScript?
body: <p>Is there a way to zip files using JavaScript?? For an example, like in Yahoo mail, when you chose to download all the attachments from an email, it gets zipped and downloaded in a single zip file. Is JavaScript capable of doing that? If so, please provide a coding example.</p>
  
  <p>I found this library called <a href="https://stuk.github.io/jszip/" rel="noreferrer">jszip</a> to do the task but it has known and unresolved issues.</p>
  
  <p>How do I solve the problem?</p>