Skip to main content
Module

std/encoding/csv.ts>ColumnOptions

Deno standard library
Go to Latest
interface ColumnOptions
import { type ColumnOptions } from "https://deno.land/std@0.75.0/encoding/csv.ts";

Parse the CSV string/buffer with the options provided.

ColumnOptions provides the column definition and the parse function for each entry of the column.

Properties

name: string

Name of the column to be used as property

optional
parse: (input: string) => unknown

Parse function for the column. This is executed on each entry of the header. This can be combined with the Parse function of the rows.