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

std/encoding/csv/_io.ts>ReadOptions

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

Properties

optional
separator: string = ","

Character which separates values.

optional
comment: string = "#"

Character to start a comment.

optional
trimLeadingSpace: boolean = false

Flag to trim the leading space of the value.

optional
lazyQuotes: boolean = false

Allow unquoted quote in a quoted field or non-double-quoted quotes in quoted field.

optional
fieldsPerRecord: number

Enabling the check of fields for each row. If == 0, first row is used as referral for the number of fields.