Skip to main content

@std/csv@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score70%
Published2 years ago (0.215.0)
property ReadOptions.fieldsPerRecord

Enabling checking number of expected fields for each row.

If positive, each record is required to have the given number of fields. If === 0, it will be set to the number of fields in the first row, so that future rows must have the same field count. If negative, no check is made and records may have a variable number of fields.

If the wrong number of fields is in a row, a ParseError is thrown.

Type

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/csv

Import symbol

import { type ReadOptions } from "@std/csv/parse";
or

Import directly with a jsr specifier

import { type ReadOptions } from "jsr:@std/csv/parse";