title: How to create more than one XLSX sheet from HTML table in js-xlsx (sheetjs)?
body: <p>I am using <a href="https://unpkg.com/xlsx@0.17.0/dist/xlsx.full.min.js" rel="nofollow noreferrer">sheetjs</a> to convert some of my table data into xlsx format (and download later).</p>
  <p>However, how can I add more than one sheet into the xlsx?</p>
  <p>The current code is:</p>
  <pre><code>var elt = document.getElementById('table_instance');
  var wb = XLSX.utils.table_to_book(elt, {sheet:&quot;Sheet 1&quot;});
  </code></pre>
  <p>What I'm looking for is:</p>
  <pre><code>var elt = document.getElementById('table_instance');
  var elt2 = document.getElementById('table_instance2');
  var wb = XLSX.utils.table_to_book(
      [elt, {sheet:&quot;Sheet 1&quot;}
      [elt2, {sheet:&quot;Sheet 2&quot;}
  );
  </code></pre>
  <p>Thanks</p>