Set the field delimiter. One character only. Defaults to "," (comma).
String used to delimit record rows or a special constant; special constants are 'auto', 'unix', 'mac', 'windows', 'unicode'; defaults to 'auto' (discovered in source or 'unix' if no source is specified).
Optional: character surrounding a field. One character only. Defaults to double quote.
Set the escape character. One character only. Defaults to double quote.
(array|boolean|function) List of fields as an array, a user defined callback accepting the first line and returning the column names, or true if autodiscovered in the first CSV line. Defaults to null. Affects the result data set in the sense that records will be objects instead of arrays.
Treat all the characters after this one as a comment. Defaults to "" (disabled).
Name of header-record title to name objects by.
Preserve quotes inside unquoted field.
Discard inconsistent columns count. Default to false.
Don't generate empty values for empty lines.
Maximum numer of characters to be contained in the field and line buffers before an exception is raised. Used to guard against a wrong delimiter or rowDelimiter. Default to 128,000 characters.
If true, ignore whitespace immediately around the delimiter. Defaults to false. Does not remove whitespace in a quoted field.
If true, ignore whitespace immediately following the delimiter (i.e. left-trim all fields). Defaults to false. Does not remove whitespace in a quoted field.
If true, ignore whitespace immediately preceding the delimiter (i.e. right-trim all fields). Defaults to false. Does not remove whitespace in a quoted field.
If true, the parser will attempt to convert input string to native types.
If true, the parser will attempt to convert input string to dates. It requires the "auto_parse" option. Be careful, it relies on Date.parse.
If true, the parser will attempt to convert input string to native types.
If true, the parser will attempt to convert input string to dates.
If true, the parser will attempt to convert input string to dates. It requires the "auto_parse" option. Be careful, it relies on Date.parse.
(array|boolean|function) List of fields as an array, a user defined callback accepting the first line and returning the column names, or true if autodiscovered in the first CSV line.
(array|boolean|function) List of fields as an array, a user defined callback accepting the first line and returning the column names, or true if autodiscovered in the first CSV line. Defaults to null. Affects the result data set in the sense that records will be objects instead of arrays.
Treat all the characters after this one as a comment.
Treat all the characters after this one as a comment. Defaults to "" (disabled).
Set the field delimiter.
Set the field delimiter. One character only. Defaults to "," (comma).
Set the escape character.
Set the escape character. One character only. Defaults to double quote.
If true, ignore whitespace immediately following the delimiter (i.e.
If true, ignore whitespace immediately following the delimiter (i.e. left-trim all fields). Defaults to false. Does not remove whitespace in a quoted field.
Maximum numer of characters to be contained in the field and line buffers before an exception is raised.
Maximum numer of characters to be contained in the field and line buffers before an exception is raised. Used to guard against a wrong delimiter or rowDelimiter. Default to 128,000 characters.
Name of header-record title to name objects by.
Optional: character surrounding a field.
Optional: character surrounding a field. One character only. Defaults to double quote.
Preserve quotes inside unquoted field.
Discard inconsistent columns count.
Discard inconsistent columns count. Default to false.
String used to delimit record rows or a special constant; special constants are 'auto', 'unix', 'mac', 'windows', 'unicode'; defaults to 'auto' (discovered in source or 'unix' if no source is specified).
If true, ignore whitespace immediately preceding the delimiter (i.e.
If true, ignore whitespace immediately preceding the delimiter (i.e. right-trim all fields). Defaults to false. Does not remove whitespace in a quoted field.
Don't generate empty values for empty lines.
If true, ignore whitespace immediately around the delimiter.
If true, ignore whitespace immediately around the delimiter. Defaults to false. Does not remove whitespace in a quoted field.
Parser Options