Skip to content

FormatCsvParams

Subset of ExportParams accepted by the pure formatters (ExportPlugin.formatCsv / ExportPlugin.formatExcel).

The formatters operate on already-resolved data, so options that affect value resolution (mode, rowIndices, format, fileName, fileExtension) are intentionally excluded — if you need them, run them through ExportPlugin.export first or call the download/export methods.

processCell is honoured: it runs once per cell on the values you pass in, just like the download methods.

type FormatCsvParams = Pick<ExportParams, "columns" | "includeHeaders" | "processCell" | "processHeader">
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt