Skip to main content
Version: Current

CsvFileOptions

@rotorsoft/act-root


@rotorsoft/act-root / act/src / CsvFileOptions

Type Alias: CsvFileOptions

CsvFileOptions = { path: string; } | { blob: string; }

Defined in: libs/act/src/csv.ts:38

Construct a CsvFile from either a filesystem path (for reading and/or writing through the OS) or an in-memory blob (a pre-loaded CSV string, used by the inspector when a CSV arrives over the wire via tRPC).

Both modes share the same on-disk format, so the same blob shape can be round-tripped through the transfer pipeline.