ts-csv

Simple CSV parser in TypeScript

View on GitHub

Home > @gregoranders/csv > Parser > parse

Parser.parse() method

parse csv

Signature:

parse(text: string): readonly Row[];

Parameters

Parameter Type Description
text string CSV text

Returns:

readonly Row[]

an array of Rows

Exceptions

Error on parse error