{"id":47899134,"url":"https://github.com/almide/csv","last_synced_at":"2026-04-04T04:00:37.112Z","repository":{"id":347755384,"uuid":"1195028319","full_name":"almide/csv","owner":"almide","description":"CSV parser and serializer for Almide. Quoted fields, header rows, roundtrip-safe.","archived":false,"fork":false,"pushed_at":"2026-03-29T11:41:55.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T13:48:42.127Z","etag":null,"topics":["almide","csv","parser"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/almide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-29T05:43:21.000Z","updated_at":"2026-03-29T12:33:18.000Z","dependencies_parsed_at":"2026-04-04T04:00:21.884Z","dependency_job_id":null,"html_url":"https://github.com/almide/csv","commit_stats":null,"previous_names":["almide/csv"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/almide/csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fcsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fcsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fcsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fcsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/almide","download_url":"https://codeload.github.com/almide/csv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fcsv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31387024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"online","status_checked_at":"2026-04-04T02:00:07.569Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["almide","csv","parser"],"created_at":"2026-04-04T04:00:17.036Z","updated_at":"2026-04-04T04:00:37.084Z","avatar_url":"https://github.com/almide.png","language":null,"readme":"# almide/csv\n\nCSV parser and serializer for [Almide](https://github.com/almide/almide). Pure Almide implementation with RFC 4180 support.\n\n## Install\n\n```bash\nalmide add almide/csv\n```\n\n## Usage\n\n```almide\nimport csv\n\n// Parse CSV text to array of arrays\nlet data = csv.parse(\"name,age\\nAlice,30\\nBob,25\")!\n\n// Parse with header row → array of objects\nlet records = csv.parse_records(\"name,age\\nAlice,30\\nBob,25\")!\n\n// Stringify array of arrays\nlet text = csv.stringify(data)\n\n// Stringify array of objects (auto-generates header)\nlet text = csv.stringify_records(records)\n```\n\n## API\n\n| Function | Signature | Description |\n|---|---|---|\n| `csv.parse` | `(String) -\u003e Result[Value, String]` | Parse to array of arrays |\n| `csv.parse_records` | `(String) -\u003e Result[Value, String]` | Parse with header row → array of objects |\n| `csv.stringify` | `(Value) -\u003e String` | Serialize array of arrays to CSV |\n| `csv.stringify_records` | `(Value) -\u003e String` | Serialize array of objects to CSV (with header) |\n\n## Features\n\n- Quoted fields (`\"hello, world\"`)\n- Escaped quotes (`\"\"` → `\"`)\n- Newlines within quoted fields\n- CRLF and LF line endings\n- Empty fields\n- Roundtrip-safe: parse then stringify preserves data\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmide%2Fcsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmide%2Fcsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmide%2Fcsv/lists"}