import xlsxInit, { Format, FormatAlign, FormatBorder, Formula, Workbook, Image, Url, } from "wasm-xlsxwriter"; // Load the WebAssembly module and initialize the library. await xlsxInit(); // Create a new Excel file object. const workbook = new Workbook(); // Create some formats to use in the worksheet. const boldFormat = new Format().setBold(); const decimalFormat = new Format().setNumFormat("0.00