Skip to content

streamingParse

github-actions[bot] edited this page Dec 25, 2023 · 1 revision

web-csv-toolbox / Exports / streamingParse

Namespace: streamingParse

Table of contents

Functions

Functions

toArray

▸ toArray<Header>(stream, options?): Promise<CSVRecord<Header>[]>

Type parameters

Name Type
Header extends readonly string[]

Parameters

Name Type
stream ReadableStream<Uint8Array>
options? ParseOptions<Header>

Returns

Promise<CSVRecord<Header>[]>

Defined in

src/streamingParse.ts:19


toArray

▸ toArray<Header>(stream, options?): Promise<CSVRecord<Header>[]>

Type parameters

Name Type
Header extends readonly string[]

Parameters

Name Type
stream ReadableStream<Uint8Array>
options? ParseOptions<Header>

Returns

Promise<CSVRecord<Header>[]>

Defined in

src/streamingParse.ts:19

Clone this wiki locally