Skip to content
jsf2xlsx

toXlsx

function toXlsx(jsf: Workbook, options?: ToXlsxOptions): Promise<ZipArchive>;

Converts a JSF Workbook object into an XLSX file, and returns it as a ZipArchive.

Parameter Type Description
jsf Workbook The workbook object containing sheets, tables, and other data to be converted.
options? ToXlsxOptions Optional settings; see ToXlsxOptions.

Promise<ZipArchive>

A promise of the archive, with every part of the workbook written to it.