Creates a CSV file using the given name and data. The columns argument is optional but recommended for better
performance (avoids having to loop over the data to gather the column names) and control over the column order.
Type Parameters
TextendsRecord<any,any>
Parameters
name: string
The name of the file. The file extension is optional and will be added automatically if not provided.
Creates a CSV file using the given
nameanddata. Thecolumnsargument is optional but recommended for better performance (avoids having to loop over the data to gather the column names) and control over the column order.