Function parseBinary

  • Parse a binary from an Uint8Array.

    Type Parameters

    • Header extends readonly string[]

    Parameters

    Returns AsyncIterableIterator<CSVRecord<Header>>

    Async iterable iterator of records.

    Example: Parsing CSV binary

    import { parseUint8Array } from 'web-csv-toolbox';

    const csv = Uint8Array.from([
    // ...
    ]);

    for await (const record of parseUint8Array(csv)) {
    console.log(record);
    }

Generated using TypeDoc