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

std/encoding/csv.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.177.1/encoding/csv.ts";

Port of the Go encoding/csv library.

Classes

A ParseError is returned for parsing errors. Line numbers are 1-indexed and columns are 0-indexed.

Functions

Csv parse helper to manipulate data. Provides an auto/custom mapper for columns.

Type Aliases

The most essential aspect of a column is accessing the property holding the data for that column on each object in the data array. If that member is at the top level, Column can simply be a property accessor, which is either a string (if it's a plain object) or a number (if it's an array).

An object (plain or array)