Skip to content
pubscout

fast_csv

0.2.11, released 3 years ago by an unverified publisher

Classic CSV parsers suitable for most use cases with experimental event-based streaming.

WASM-ready
$ flutter pub add fast_csv
Source repository

What it does

Parses CSV data from strings or streams with good performance. Supports configurable field separators and event-based streaming parsing to handle large datasets efficiently.

AI-written summary of version 0.2.11, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to parse CSV files or strings in Dart or Flutter.
  • You require event-based streaming parsing for large datasets to manage memory efficiently.

Skip it when

  • You need to write CSV data back out (only parsing is described).

Strengths

  • Pretty fast parsing performance.
  • Supports experimental event-based streaming parsing for large files.
  • No runtime dependencies.

Weaknesses

  • Streaming parsing is currently experimental.
  • Does not include CSV serialization/writing features.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:fast_csv/csv_converter.dart';

const _data = '''
Year,Make,Model,Description,Price
1997,Ford,E350,"ac, abs, moon",3000.00
''';

void main() {
  final result = CsvConverter().convert(_data);
  print(result);
}

Alternatives

Packages that do the same job and could replace fast_csv.

  • snowplow_tracker

    Flutter package for sending Snowplow analytics events on Android, iOS, and Web.

  • epub_plus

    Epub parser and writer for Dart, usable on server, web, and Flutter.

  • epubx

    Epub Parser for Dart. Epub package fork. Suitable for use on the Server, the Web, or in Flutter

  • dart_pdf_reader

    Pure‑dart PDF parser that reads PDF structures from a byte stream.