toXlsx
function toXlsx(jsf: Workbook, options?: ToXlsxOptions): Promise<ZipArchive>;Converts a JSF Workbook object into an XLSX file, and returns it as a ZipArchive.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
jsf |
Workbook |
The workbook object containing sheets, tables, and other data to be converted. |
options? |
ToXlsxOptions |
Optional settings; see ToXlsxOptions. |
Returns
Section titled “Returns”Promise<ZipArchive>
A promise of the archive, with every part of the workbook written to it.