The input object type
The output object type after optional transformation (defaults to T)
Creates a new CSV stringifier.
The input object type
The output object type after optional transformation (defaults to T)
Iterable or async iterable of objects to stringify
Optionaloptions: CsvStringifyOptions<T, O>Optional configuration for CSV stringification
OptionalheadersOptionaltransform
CSV stringifier class for converting JavaScript objects into CSV format. Supports both synchronous and asynchronous streaming of CSV output.
Example