MCPcopy
hub / github.com/adaltas/node-csv

github.com/adaltas/node-csv @0.2.25 sqlite

repository ↗ · DeepWiki ↗ · release 0.2.25 ↗
158 symbols 1,450 edges 431 files 1 documented · 1%
README
     _   _           _        _____  _______      __
    | \ | |         | |      / ____|/ ____\ \    / /
    |  \| | ___   __| | ___ | |    | (___  \ \  / /
    | . ` |/ _ \ / _` |/ _ \| |     \___ \  \ \/ /
    | |\  | (_) | (_| |  __/| |____ ____) |  \  /
    |_| \_|\___/ \__,_|\___| \_____|_____/    \/     MIT License

CSV packages for Node.js and the web

This project provides CSV generation, parsing, transformation and serialization for Node.js.

It has been tested and used by a large community over the years and should be considered reliable. It provides every option you would expect from an advanced CSV parser and stringifier.

Project structure

This repository is a monorepo managed using Lerna. There are 5 projects in the codebase, published as separated NPM packages:

Documentation

The full documentation for the current version is available on the official CSV project website.

Features

  • Extends the native Node.js transform stream API
  • Simplicity with the optional callback and sync API
  • Support for ECMAScript modules and CommonJS
  • Large documentation, numerous examples and full unit test coverage
  • Few dependencies, in many cases zero dependencies
  • Node.js support from version 8 to latest
  • Mature project with more than 10 years of history

License

Licensed under the MIT License.

Contributors

The project is sponsored by Adaltas, a Big Data consulting firm based in Paris, France.

Extension points exported contracts — how you extend this code

Info (Interface)
(no doc)
packages/csv-parse/lib/index.d.ts
ColumnOption (Interface)
(no doc)
packages/csv-stringify/lib/index.d.ts
Options (Interface)
(no doc)
packages/csv-generate/lib/index.d.ts
Options (Interface)
(no doc)
packages/stream-transform/lib/index.d.ts
InfoCallback (Interface)
(no doc)
packages/csv-parse/lib/index.d.ts
CastingContext (Interface)
(no doc)
packages/csv-stringify/lib/index.d.ts
State (Interface)
(no doc)
packages/stream-transform/lib/index.d.ts
InfoDataSet (Interface)
(no doc)
packages/csv-parse/lib/index.d.ts

Core symbols most depended-on inside this repo

parse
called by 671
packages/csv-parse/lib/sync.js
stringify
called by 235
packages/csv-stringify/lib/sync.js
generate
called by 123
packages/csv-generate/lib/sync.js
transform
called by 85
packages/stream-transform/lib/sync.js
callback
called by 58
packages/stream-transform/lib/index.js
toString
called by 56
packages/csv-parse/lib/utils/ResizeableBuffer.js
assert_error
called by 49
packages/csv-parse/test/api.assert_error.ts
transform
called by 17
packages/csv-parse/lib/stream.js

Shape

Function 101
Interface 21
Class 20
Method 16

Languages

TypeScript100%

Modules by API surface

packages/csv-parse/lib/index.d.ts13 symbols
packages/csv-parse/lib/utils/ResizeableBuffer.js10 symbols
packages/csv-stringify/lib/utils/get.js7 symbols
packages/csv-stringify/lib/index.js7 symbols
packages/csv-parse/lib/index.js7 symbols
packages/csv-stringify/lib/index.d.ts6 symbols
packages/csv-parse/lib/stream.js6 symbols
packages/csv-parse/bench/async.iterator.js6 symbols
demo/issues-esm/lib/437-async-await.js6 symbols
packages/stream-transform/lib/index.js4 symbols
packages/stream-transform/lib/index.d.ts4 symbols
packages/csv-parse/lib/utils/delimiter_discover.js4 symbols

Dependencies from manifests, versioned

@commitlint/cli21.1.0 · 1×
@commitlint/config-conventional21.1.0 · 1×
@eslint/js10.0.1 · 1×
@rollup/plugin-node-resolve16.0.3 · 1×
@types/mocha10.0.10 · 1×
@types/node26.0.1 · 1×
buffer-browserify0.2.5 · 1×
coffeescript2.7.0 · 1×
csv6.6.1 · 1×
csv-generate4.6.1 · 1×
csv-parse7.0.1 · 1×
csv-spectrum2.0.0 · 1×

For agents

$ claude mcp add node-csv \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact