WorkBook
Top-level Workbook object containing all sheets, properties, and metadata
Interface: WorkBook
Top-level Workbook object containing all sheets, properties, and metadata
Properties
Sheets
Sheets: Record<string, WorkSheet>Map of sheet names to WorkSheet objects
SheetNames
SheetNames: string[]Ordered list of sheet names (determines tab order)
Props
optional
Props: FullPropertiesFile and document properties
Custprops
optional
Custprops: Record<string, any>Custom document properties (arbitrary key-value pairs)
Workbook
optional
Workbook: WBPropsWorkbook-level attributes (names, views, sheet props)
vbaraw
optional
vbaraw: anyReserved compatibility field. Writing a non-empty VBA payload throws XlsxError ("UNSUPPORTED").
bookType
optional
bookType: stringFile format type identifier
Source
src/types.ts:506