View as Markdown

API reference: @salmonui/export/xlsx

writeXlsxfunction

import { writeXlsx } from '@salmonui/export/xlsx';
function writeXlsx<Row>(models: ExportModel<Row> | readonly ExportModel<Row>[], options?: XlsxOptions): Promise<Uint8Array>;

Writes one or more export models (or engines with the export module) as an XLSX workbook.