Skip to content

CsvOptions

Since v0.1.1

CSV export options *

PropertyTypeDescription
delimiter?stringField delimiter (default: ’,‘)
newline?stringLine separator (default: ‘\n’)
quoteStrings?booleanWhether to quote strings containing special characters (default: true)
bom?booleanAdd UTF-8 BOM for Excel compatibility (default: false)
escapeFormulas?booleanNeutralize spreadsheet formula injection (CWE-1236) by prefixing string values that start with =, +, -, @, TAB or CR with a single quote, so Excel / LibreOffice / Sheets render them as text instead of evaluating them (default: true). v3.5.0+
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt