fast_csv 0.1.31 copy "fast_csv: ^0.1.31" to clipboard
fast_csv: ^0.1.31 copied to clipboard

outdated

Classic non-configurable CSV parser suitable for most use cases. Pretty fast parsing.

example/example.dart

import 'package:fast_csv/fast_csv.dart' as _fast_csv;

void main(List<String> args) {
  final result = _fast_csv.parse(_csv);
  print(result.join('\n'));
  for (final row in result) {
    final car = row[1];
    final price = num.parse(row[4]);
    print('$car $price');
  }
}

const _csv = '''
1997,Ford,E350,"ac, ""abs"", moon",3000.00
1999,Chevy,"Venture В«Extended EditionВ»","",4900.00
1996,Jeep,Grand Cherokee,"MUST SELL! air, moon roof, loaded",4799.00
''';
17
likes
0
pub points
87%
popularity

Publisher

unverified uploader

Classic non-configurable CSV parser suitable for most use cases. Pretty fast parsing.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

source_span

More

Packages that depend on fast_csv