web-csv-toolbox
    Preparing search index...

    Function toIterableIterator

    • Parse a binary from an Uint8Array to an iterable iterator of records.

      Type Parameters

      • Header extends readonly string[]

      Parameters

      Returns IterableIterator<CSVRecord<Header>>

      Async iterable iterator of records.

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

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

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