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

web-csv-toolbox / Exports / parse

Namespace: parse

Table of contents

Functions

Functions

toArray

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

Type parameters

Name Type
Header extends readonly string[]

Parameters

Name Type
csv string | Response | ReadableStream<string | Uint8Array>
options? ParseOptions<Header>

Returns

Promise<CSVRecord<Header>[]>

Defined in

src/parse.ts:45


toArray

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

Type parameters

Name Type
Header extends readonly string[]

Parameters

Name Type
csv string | Response | ReadableStream<string | Uint8Array>
options? ParseOptions<Header>

Returns

Promise<CSVRecord<Header>[]>

Defined in

src/parse.ts:45

Clone this wiki locally