Escape
HomeDocs@quario/xlsx

@quario/xlsx

The spreadsheet render target. Resolves workbook bytes with typed cells.

xlsx(options?)

signature
function xlsx(options?: XlsxOptions): Target<'xlsx', Promise<Uint8Array>>

Returns the target. It takes one option, meta. Any other key, or one of the wrong type, throws a TypeError naming the path. The factory reads meta once and copies it, so mutating that object between renders no longer changes the workbook.

XlsxOptions

Field Type Meaning
meta XlsxMeta Optional document information.

XlsxMeta

signature
interface XlsxMeta {
  title?: string
  author?: string
  subject?: string
}

Never includes dates, so the document model stays deterministic.

This target takes no font mapping. An unmapped family name passes through for the spreadsheet application to resolve.

Numbers stay numbers.

npm install quario
Getting started
© 2026 quario · KvK 61815977