title: Export array to excel xlsx in javascript
body: <p>There is one requirement in javascript to export the data (array or array of objects) to excel xlsx. I already exported the data to csv but unable to do same for xlsx. I tried many api from github so that I can used the libraries and export it to xslx but there are little help for it. I tried using stephen-hardy/xlsx.js, SheetJS/js-xlsx etc.</p>
  
  <p>For exporting to csv I used this Click <a href="https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side" title="export data to csv">here</a>! but the same cant be done for xlsx.</p>
  
  <p>I tried xlsxwriter also to convert and write javascript array or array of object to xlsx but no result.</p>
  
  <p>Now I m badly stuck because of the requirement. I also found out the similar post as of mine requirement Click <a href="https://stackoverflow.com/questions/21264165/build-xlsx-file-with-javascript" title="Build XLSX File With JavaScript">here</a>!</p>
  
  <p>Please guys give me solution if any</p>