title: Create and Save File on Client Side - Angular
body: <p>Using angular 8, I would like to create below directory structure and let the user download it as a zip;</p>
  
  <pre><code>- folder1
  -- file1.txt
  - folder2
  -- file2.txt
  readme.txt
  </code></pre>
  
  <p>I know how to create an individual file using Blob in angular like <a href="https://stackblitz.com/edit/angular-blob-file-download" rel="nofollow noreferrer">this link</a> but I am not sure how to;</p>
  
  <ol>
  <li>Create folders and above directory structure?</li>
  <li>Zip the directory and download for the user as single zip file?</li>
  </ol>
  
  <p>all on client side in browser without using the backend API</p>