↧
Answer by YManaf for How can I write a csv in a file with xslx library in node?
First of all generate your CSV content: var table = document.getElementById(id);var wb = XLSX.utils.table_to_book(table, { sheet: "Sheet JS" });var ws1 = wb.Sheets[wb.SheetNames[0]];var csv =...
View ArticleHow can I write a csv in a file with xslx library in node?
I have to convert one of the sheets from an xslx to csv, for that I use the following code:url = 'routes/file.xlsx';const workbook = XLSX.readFile(url); const csv =...
View Article