Documentation / @zerotal/admin / index / parseCsv
Function: parseCsv()
parseCsv(
text):string[][]
Defined in: admin/src/actions/csv.ts:47
Parse CSV into rows of raw strings, the first row being the header.
Handles quoted fields containing commas, escaped quotes ("") and embedded
newlines. Returns an empty array for empty input rather than a phantom row.
Parameters
text
string
Returns
string[][]