OptionaldelimiterOptionalincludeInclude headers row (default: true)
OptionalrenameRename column headers { oldKey: newKey }
OptionalmaxMaximum number of records to process
OptionalpreventPrevent CSV injection attacks by escaping formulas (default: true)
Optionalrfc4180Ensure RFC 4180 compliance (default: true).
On the way out this picks CRLF line endings. On the way in it selects the tokenizer dialect: the default treats a backslash as ordinary data, the way RFC 4180, Excel, Papa Parse and this library's own browser build do. Set it to false for files written with the MySQL/Postgres convention, where a backslash escapes the character after it.
OptionalschemaJSON schema for validation and formatting
OptionaltransformCustom transform function for each row
OptionaladdBOMAdd UTF-8 BOM for Excel compatibility (default: true)
Delimiter for CSV output (default: ',')