{"id":18207645,"url":"https://github.com/d-markey/csvloader","last_synced_at":"2025-04-07T19:52:52.429Z","repository":{"id":56827481,"uuid":"471533798","full_name":"d-markey/csvloader","owner":"d-markey","description":"Simple, cross-platform Dart package to read CSV data from a Stream. Supports and extends RFC 4180.","archived":false,"fork":false,"pushed_at":"2023-12-28T23:56:13.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T21:33:28.476Z","etag":null,"topics":["csv","csv-import","dart","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/csvloader","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-markey.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-18T22:28:31.000Z","updated_at":"2024-05-20T06:13:29.000Z","dependencies_parsed_at":"2023-12-29T00:30:42.219Z","dependency_job_id":"0a1ff2d2-95a7-4a90-836f-72e15ae1f81f","html_url":"https://github.com/d-markey/csvloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-markey%2Fcsvloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-markey%2Fcsvloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-markey%2Fcsvloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-markey%2Fcsvloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-markey","download_url":"https://codeload.github.com/d-markey/csvloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247721928,"owners_count":20985083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","csv-import","dart","flutter"],"created_at":"2024-11-03T13:03:48.465Z","updated_at":"2025-04-07T19:52:52.410Z","avatar_url":"https://github.com/d-markey.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csvloader\n\nLightweight, cross-platform Dart package to read CSV data from a `Stream`. Supports and extends RFC 4180.\n\n[![codecov](https://codecov.io/github/d-markey/csvloader/branch/main/graph/badge.svg?token=9NBGYNW423)](https://codecov.io/github/d-markey/csvloader)\n\n# Usage\n\n```dart\nimport 'package:csvloader/csvloader.dart';\n\nStream\u003cString\u003e catalog() async* {\n  // CsvLoader will unescape data between quotes\n  yield 'Part code\\tPart label\\tDescription\\r\\n';\n  yield 'B1XX\\tBolt\\t\"Your average bolt\"\\r\\n';\n  yield 'S2XX\\tScrew\\t\"Your average screw\"\\r\\n';\n  yield 'N1XX\\tNut\\t\"Nut; for bolts \"\"B1XX\"\"\"\\r\\n';\n  yield '9N\\tNail\\t\"A 9\"\" nail\"\\r\\n';\n}\n\nvoid main() async {\n  // use \"tab\" as separator\n  final catalogCsv = CsvLoader.withHeaders(catalog(), separator: '\\t');\n\n  await for (var row in catalogCsv.rows) {\n    final code = row['Part code'];\n    final label = row['Part label'];\n    final descr = row['Description'];\n    print(' - $label ($code): $descr');\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-markey%2Fcsvloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-markey%2Fcsvloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-markey%2Fcsvloader/lists"}