Skip to main content
Home

@std/csv@1.0.6
Built and signed on GitHub Actions

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
8 months ago (1.0.6)

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

Column information.

c
CsvParseStream

CsvParseStream transforms a stream of CSV-encoded text into a stream of parsed objects.

c
CsvStringifyStream

Convert each chunk to a CSV record.

I
CsvStringifyStreamOptions

Options for CsvStringifyStream.

T
DataItem

An object (plain or array)

f
parse

Parses CSV string into an array of arrays of strings.

T
ParseResult

Parse result type for parse and CsvParseStream.

T
PropertyAccessor

Array index or record key corresponding to a value for a data object.

T
RecordWithColumn

Record type with column type.

T
RowType

Row return type.

f
stringify

Converts an array of objects into a CSV string.

f
parse

Parses CSV string into an array of arrays of strings.

c
CsvParseStream

CsvParseStream transforms a stream of CSV-encoded text into a stream of parsed objects.

T
RowType

Row return type.

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

Column information.

T
DataItem

An object (plain or array)

T
PropertyAccessor

Array index or record key corresponding to a value for a data object.

f
stringify

Converts an array of objects into a CSV string.

c
CsvStringifyStream

Convert each chunk to a CSV record.

I
CsvStringifyStreamOptions

Options for CsvStringifyStream.

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

Column information.

T
DataItem

An object (plain or array)

T
PropertyAccessor

Array index or record key corresponding to a value for a data object.

f
stringify

Converts an array of objects into a CSV string.

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.