Sheet2CSVOpts
Options for converting a worksheet to CSV
Interface: Sheet2CSVOpts
Options for converting a worksheet to CSV
Hierarchy
Extends:
WorksheetCellBudgetOptionsExtended by:WriteOptions
Properties
maxWorksheetCells
optional
maxWorksheetCells: numberMaximum cumulative cell work per sheet. This counts explicit cells plus generated column, hyperlink, span, and export positions. XLSX reads default to 10,000,000; exports default to 1,000,000.
FS
optional
FS: stringField separator (default: ",")
RS
optional
RS: stringRecord separator / row delimiter (default: "\n")
strip
optional
strip: booleanIf true, strip trailing field separators from each row
blankrows
optional
blankrows: booleanIf true, include blank rows (default: true)
skipHidden
optional
skipHidden: booleanIf true, skip hidden rows and columns
forceQuotes
optional
forceQuotes: booleanIf true, wrap all fields in quotes
rawNumbers
optional
rawNumbers: booleanIf true, emit raw numeric values instead of formatted text
escapeFormulae
optional
escapeFormulae: booleanIf not false, prefix formula-like text fields with a single quote
dateNF
optional
dateNF: NumberFormatOverride date format for date cells
dateOutput
optional
dateOutput: "iso"If "iso", emit date/datetime cells as machine-readable ISO-like strings
UTC
optional
UTC: booleanIf true, interpret dates as UTC
date1904
optional
date1904: booleanIf true, use 1904 date system for date serial numbers
Source
src/types.ts:547