Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/encoding/csv.ts>readMatrix

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readMatrix
import { readMatrix } from "https://deno.land/std@0.78.0/encoding/csv.ts";

Parse the CSV from the reader with the options provided and return string[][].

Parameters

reader: BufReader

provides the CSV data to parse

optional
opt: ReadOptions = [UNSUPPORTED]

controls the parsing behavior

Returns

Promise<string[][]>