I created a simple excel file using xlsxjs and I used console.log to confirm that the file was created. The console.logs confirmed that I succesfully created the file but I have no idea how to download or access the actual excel file. Anyone know how to get out of this one?
const xlsx = require('xlsx')
var workbook = xlsx.utils.book_new()
var ws_data = [
["S", "h", "e", "e", "t", "J", "S"],
[1, 2, 3, 4, 5]
];
var ws = xlsx.utils.aoa_to_sheet(ws_data);
xlsx.utils.book_append_sheet(workbook, ws, "sheet1");
console.log(workbook)