Option quote
The quote option defines the characters surrounding a field, defaults to the "
(double quotation marks).
It is possible to disable quoting by setting the option value to false
or an empty string. The setting applies at any time, whether it contains a special character or not.
- Type:
string|Buffer|boolean
- Optional
- Default:
"
- Since: 0.0.1
- Related:
quoted_empty
,quoted_match
,quoted_string
,quoted
— see Available Options
Example
The custom quote example defines a custom value. The output field is surrounded with the pipe character because it contains a comma which is the default field separator.