OptionalalwaysOptionaldelimiterCharacter to separate fields (default: ',')
OptionalescapeCharacter to escape special characters (default: '"')
OptionalheadersOptional array of headers to use as the first row. Optionally, pass in a CsvObjectShape to be used as headers
OptionalnewlineNewline character (default: '\n')
OptionalquoteCharacter to quote fields (default: '"')
OptionaltransformOptional transform function to modify each record before stringifying
OptionalwriteWhether to write a UTF-8 BOM at the start of the output (default: false)
Whether to always write headers, even if there are no records (default: false)