title: Download multiple files from NodeJS Server
body: <p>I am trying to support download of multiple files from my Node js server to the client. With the below logic implemented in my NodeJS server, I can support sending of single file to the client.</p>
  
  <pre><code>res.download('group_documents/sample1.pdf','sample1.pdf', function(err){
    if (err) {
      console.log(err);
    } else {
      // decrement a download credit etc
    }
  });
  </code></pre>
  
  <p>How can i rewrite the above server logic to support downloading multiple files using single request from the client (browser or curl request)?</p>