API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classCsvFactory
AssetFactory implementation that loads CSV (and TSV) files and produces a two-dimensional array of strings. Parsing is RFC 4180-compliant: quoted fields (including fields that contain the delimiter, newlines, or double-quotes) are handled correctly. Line endings are normalised before parsing; empty trailing lines are dropped. The returned `string[][]` is intentionally untyped — callers decide whether to treat the first row as headers, apply type coercions, etc.
import { CsvFactory } from '@codexo/exojs' AssetFactory implementation that loads CSV (and TSV) files and produces a two-dimensional array of strings.
Parsing is RFC 4180-compliant: quoted fields (including fields that contain the delimiter, newlines, or double-quotes) are handled correctly. Line endings are normalised before parsing; empty trailing lines are dropped.
The returned `string[][]` is intentionally untyped — callers decide whether to treat the first row as headers, apply type coercions, etc.
new(): CsvFactory create(source: string, options: CsvFactoryOptions): Promise<string[][]> createObjectUrl(blob: Blob): string destroy(): void process(response: Response): Promise<string> revokeObjectUrl(objectUrl: string): void storageName: "csv"