OptionalbookGenerate Shared String Table
OptionalbookFile format of generated workbook
OptionalbookWhen reading a file with VBA macros, expose CFB blob to vbaraw field
When writing BIFF8/XLSB/XLSM, reseat vbaraw and export to file
OptionalcellWhen reading a file, store dates as type d (default is n) When writing XLSX/XLSM file, use native date (default uses date codes)
OptionalcellWhen writing, in formats that support styling, this increases the padding between the cell content and the cell border. (a.k.a: extra cell width)
OptionalcellWhen reading a file, save style/theme info to the .s field When writing a file, export style/theme info
OptionalcodepageDesired codepage for legacy file formats
This requires encoding support to be loaded. It is automatically loaded
in xlsx.full.min.js and in CommonJS / Extendscript, but an extra step
is required in React / Angular / Webpack / ESM deployments.
Check the relevant guide https://docs.sheetjs.com/docs/getting-started/
OptionalcompressionUse ZIP compression for ZIP-based formats
OptionalfileOptionalFSField Separator ("delimiter") for CSV / Text output
OptionalignoreSuppress "number stored as text" errors in generated files
OptionalnumbersBase64 encoding of NUMBERS base for exports
OptionalpasswordIf defined and file is encrypted, use password
OptionalPropsOverride workbook properties on save
OptionalRSRecord Separator ("row separator") for CSV / Text output
OptionalRTLRight-to-left (RTL) mode
OptionalsheetFor single-sheet formats, export the specified worksheet.
The property must be a string (sheet name) or number (SheetNames index).
If this option is omitted, the first worksheet will be exported.
OptionalsheetCreate cell objects for stub cells
OptionalthemeOverride theme XML when exporting to XLSX/XLSM/XLSB
OptionaltypeOutput data encoding
OptionalWTFIf true, throw errors when features are not understood
The all-in-one options object that can be passed to any function