MCPcopy
hub / github.com/C2FO/fast-csv

github.com/C2FO/fast-csv @v5.0.7 sqlite

repository ↗ · DeepWiki ↗ · release v5.0.7 ↗
253 symbols 857 edges 210 files 0 documented · 0%
README

fast-csv Logo

npm version Coverage Status Known Vulnerabilities

Fast-csv

Fast-csv is library for parsing and formatting CSVs or any other delimited value file in node.

Features

  • CSV Formatting
  • CSV Parsing
  • Built using typescript.
  • Flexible formatting and parsing options, to fit almost any scenario.
  • Built with streams first to avoid creating large memory footprint when parsing large files.
  • Battle tested in production, parsing and formatting millions of records every day.

Install

See installation docs

Packages

  • fast-csv - One-stop shop for all methods and options from @fast-csv/format and @fast-csv/parse. Get Started!
  • @fast-csv/parse - Parsing package, use this if you only need to parse files. Get Started!
  • @fast-csv/format - Formatting package, use this if you only need to format files. Get Started!

License

MIT https://github.com/C2FO/fast-csv/raw/main/LICENSE

Meta

Extension points exported contracts — how you extend this code

ParserOptionsArgs (Interface)
(no doc)
packages/parse/src/ParserOptions.ts
QuoteColumnMap (Interface)
(no doc)
packages/format/src/FormatterOptions.ts
UserCsvRow (Interface)
(no doc)
examples/fast-csv-ts/examples/parse_and_format_transform_async.example.ts
CsvRow (Interface)
(no doc)
examples/formatting-ts/examples/transform.example.ts
RowValidationResult (Interface)
(no doc)
packages/parse/src/types.ts
FormatterOptionsArgs (Interface)
(no doc)
packages/format/src/FormatterOptions.ts
UserDetailsRow (Interface)
(no doc)
examples/fast-csv-ts/examples/parse_and_format_transform_async.example.ts
CsvRow (Interface)
(no doc)
examples/formatting-ts/examples/transform_async.example.ts

Core symbols most depended-on inside this repo

write
called by 156
examples/formatting-js/examples/append.example.js
write
called by 97
examples/formatting-ts/examples/append.example.ts
format
called by 57
packages/format/src/formatter/RowFormatter.ts
parse
called by 40
packages/parse/src/parser/Parser.ts
format
called by 26
packages/format/src/index.ts
parse
called by 18
packages/parse/src/index.ts
writeToString
called by 17
packages/format/src/index.ts
writeToBuffer
called by 16
packages/format/src/index.ts

Shape

Method 111
Function 77
Class 48
Interface 17

Languages

TypeScript100%

Modules by API surface

packages/parse/src/CsvParserStream.ts20 symbols
packages/format/src/formatter/RowFormatter.ts14 symbols
packages/parse/src/parser/Scanner.ts13 symbols
packages/parse/src/parser/Token.ts10 symbols
packages/parse/src/transforms/RowTransformerValidator.ts9 symbols
packages/parse/src/parser/Parser.ts9 symbols
packages/parse/src/transforms/HeaderTransformer.ts8 symbols
packages/parse/__tests__/CsvParsingStream.spec.ts8 symbols
packages/parse/src/parser/column/QuotedColumnParser.ts7 symbols
packages/parse/src/parser/RowParser.ts7 symbols
packages/format/src/formatter/FieldFormatter.ts7 symbols
packages/format/__tests__/formatter/RowFormatter.spec.ts7 symbols

Dependencies from manifests, versioned

@commitlint/cli20.5.3 · 1×
@commitlint/config-angular20.5.3 · 1×
@docusaurus/core3.10.0 · 1×
@docusaurus/preset-classic3.10.0 · 1×
@eslint/js9.39.2 · 1×
@fast-csv/format5.0.7 · 1×
@fast-csv/parse5.0.7 · 1×
@types/jest30.0.0 · 1×
@types/lodash.escaperegexp4.1.9 · 1×
@types/lodash.groupby4.6.9 · 1×
@types/lodash.partition4.6.9 · 1×
@types/lodash.uniq4.5.9 · 1×

For agents

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

⬇ download graph artifact