csv 8.0.0 copy "csv: ^8.0.0" to clipboard
csv: ^8.0.0 copied to clipboard

A high-quality CSV library. Encode and decode CSV strings, with stream support (one row per event), auto-detection, and Excel compatibility. The string must be comma (configurable) separated values.

example/csv_example.dart

import 'package:csv/csv.dart';

void main() {
  final input = [['name', 'age'], ['Alice', 30], ['Bob', 25]];
  final encoded = csv.encode(input);
  print('Encoded: $encoded');
  
  final decoded = csv.decode(encoded);
  print('Decoded: $decoded');
}
397
likes
150
points
711k
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A high-quality CSV library. Encode and decode CSV strings, with stream support (one row per event), auto-detection, and Excel compatibility. The string must be comma (configurable) separated values.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on csv