Skip to main content
Home
This release is 32 versions behind 1.0.6 — the latest version of @std/csv. Jump to latest

Reading and writing of comma-separated values (CSV) files

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 years ago (0.206.0)

default

Reads and writes comma-separated values (CSV) files.

T
Column

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).

T
ColumnDetails
No documentation available
c
CsvParseStream

Read data from a CSV-encoded stream or file. Provides an auto/custom mapper for columns.

I
CsvParseStreamOptions
No documentation available
c
CsvStringifyStream

Convert each chunk to a CSV record.

I
CsvStringifyStreamOptions
No documentation available
T
DataItem

An object (plain or array)

f
parse

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

c
ParseError

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

I
ParseOptions
No documentation available
f
stringify

Write data using CSV encoding.

c
StringifyError
No documentation available
T
StringifyOptions
No documentation available
c
CsvParseStream

Read data from a CSV-encoded stream or file. Provides an auto/custom mapper for columns.

I
CsvParseStreamOptions
No documentation available
c
CsvStringifyStream

Convert each chunk to a CSV record.

I
CsvStringifyStreamOptions
No documentation available
f
parse

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

c
ParseError

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

I
ParseOptions
No documentation available
T
Column

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).

T
ColumnDetails
No documentation available
T
DataItem

An object (plain or array)

f
stringify

Write data using CSV encoding.

c
StringifyError
No documentation available
T
StringifyOptions
No documentation available

New Ticket: 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.