I have a question about exporting an HTML table as an xlsx file. I did some work and now I can export it as an xls, but I
A great client-side tool for exporting html tables to xlsx, xls, csv, or txt is TableExport by clarketm (me). It is a simple, easy-to-implement, full-featured library with a bunch of configurable properties and methods.
$ npm install tableexport
TableExport(document.getElementsByTagName("table"));
// OR using jQuery
$("table").tableExport();
Check out the compendious docs or just head over to TableExport on Github for a full list of features.