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)
OptionalschemaJSON schema for data validation and formatting
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.
OptionaluseUse worker threads for processing (default: auto-detect based on data size)
OptionalworkerNumber of worker threads to use (default: CPU cores - 1)
OptionalchunkSize of data chunks for parallel processing
OptionalonProgress callback function
CSV delimiter (default: ';')