parseCsvTable
Import from: @xbbg/xnews, @xbbg/xnews/parsers
parseCsvTable(
text):Record<string,string>[]
Defined in: src/csv.ts (declaration: csv.d.ts:14)
Parses CSV text whose first record is a header into one string record per data row. Cells beyond the header are dropped; missing cells are "".
Parameters
text
string
Returns
Record<string, string>[]
