OptionaldelimiterOptionalautoAuto-detect delimiter if not specified (default: true)
OptionalcandidatesCandidate delimiters for auto-detection (default: [';', ',', '\t', '|'])
OptionalhasWhether CSV has headers row (default: true)
OptionalrenameMap for renaming column headers { newKey: oldKey }
OptionaltrimTrim whitespace from values (default: true)
OptionalparseParse numeric values (default: false)
OptionalparseParse boolean values (default: false)
OptionalmaxMaximum number of rows to process (optional, no limit by default)
OptionaluseEnable fast-path parsing (default: true)
OptionalfastFast-path output mode (default: 'objects')
OptionaluseUse delimiter cache for auto-detection (default: true)
OptionalcacheCustom delimiter cache instance
OptionalhooksHooks for custom processing
OptionalpreventPrevent CSV injection attacks by escaping formulas (default: true)
Optionalrfc4180Ensure RFC 4180 compliance (proper quoting, line endings) (default: true)
OptionalwarnWarn about extra fields not in headers (default: false)
OptionalonError recovery strategy for row-level errors (default: 'throw')
OptionalerrorCustom error handler for row-level errors
OptionalmemoryWarn when row count exceeds this threshold (default: 1000000)
OptionalmemorySafety limit for in-memory conversion (default: 5000000). Set to Infinity to disable.
OptionalrepairAttempt to repair shifted rows with trailing empty fields (default: true)
OptionalnormalizeNormalize excessive quotes in parsed fields (default: true)
OptionaltransformCustom transform function for each row
OptionalschemaJSON schema for validation and formatting
CSV delimiter (default: auto-detected)