OptionaldelimiterOptionalincludeInclude headers row (default: true)
OptionalrenameRename column headers { oldKey: newKey }
OptionaltemplateTemplate for guaranteed column order
OptionalmaxMaximum number of records to process (optional, no limit by default)
OptionalpreventPrevent CSV injection attacks by escaping formulas (default: true)
Optionalrfc4180Ensure RFC 4180 compliance (proper quoting, line endings) (default: true)
OptionalnormalizeNormalize excessive quotes in JSON string values before CSV export (default: true)
OptionalflattenWhether to flatten nested objects into dot notation keys
OptionalflattenSeparator for flattened keys (e.g., 'user.name' with '.')
OptionalflattenMaximum depth for flattening nested objects
OptionalarrayHow to handle arrays ('stringify', 'join', 'expand')
OptionalmemoryWarn when record count exceeds this threshold (default: 1000000)
OptionalmemorySafety limit for in-memory conversion (default: 5000000). Set to Infinity to disable.
OptionaltransformCustom transform function for each row
OptionalschemaJSON schema for validation and formatting
OptionaladdBOMAdd UTF-8 BOM for Excel compatibility (default: true)
CSV delimiter (default: ';')