csvexport
Export CSV files from javascript objects in the browser
html-table-to-csv
This NPM package exports a CSV string from an HTML table. The function takes one parameter tableId which is a string representing the id of the table in the HTML document.