API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classCsvFactory

@codexo/exojs / resources / stable

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.

1
props
5
methods
0
events
Import
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.

Constructors 1
new(): CsvFactory
Methods 5
create(source: string, options: CsvFactoryOptions): Promise<string[][]>
createObjectUrl(blob: Blob): string
destroy(): void
process(response: Response): Promise<string>
revokeObjectUrl(objectUrl: string): void
Properties 1
storageName: "csv"
Source