{"id":18546921,"url":"https://github.com/mr-sb/tinycsv","last_synced_at":"2026-04-04T00:05:03.449Z","repository":{"id":63281910,"uuid":"295292239","full_name":"Mr-sB/TinyCSV","owner":"Mr-sB","description":"Tiny CSV toolkit for .NET. Easy to read and write CSV table. Support cells contain comma and double quote characters, and also support multiline cells form.","archived":false,"fork":false,"pushed_at":"2025-04-07T10:50:21.000Z","size":57,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T07:11:11.122Z","etag":null,"topics":["csharp","csv","csv-parser","donet","toolkit"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Mr-sB.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,"zenodo":null}},"created_at":"2020-09-14T03:19:52.000Z","updated_at":"2025-04-07T10:49:45.000Z","dependencies_parsed_at":"2025-05-15T07:10:15.351Z","dependency_job_id":"ce463803-3780-4c1c-b8e8-61fff9608a1e","html_url":"https://github.com/Mr-sB/TinyCSV","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Mr-sB/TinyCSV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FTinyCSV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FTinyCSV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FTinyCSV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FTinyCSV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-sB","download_url":"https://codeload.github.com/Mr-sB/TinyCSV/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FTinyCSV/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31382355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","csv","csv-parser","donet","toolkit"],"created_at":"2024-11-06T20:27:32.188Z","updated_at":"2026-04-04T00:05:03.440Z","avatar_url":"https://github.com/Mr-sB.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyCSV\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://github.com/Mr-sB/TinyCSV/releases\"\u003e\u003cimg src=\"https://img.shields.io/badge/version-1.3.3-blue\" alt=\"Version 1.3.3\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nTiny CSV toolkit for .NET. Easy to read and write CSV table.\n\n## Feature\n* Easy to read and write csv table.\n* Custom header lines.\n* Support choose new line style:\n\n|     Environment     |  Unix  |  NonUnix  |\n| :-----------------: | :----: | :-------: |\n| Environment.NewLine |   \\n   |    \\r\\n   |\n* Support cell's form:\n\n| contain cells separators | contain double quotes | custom cells separator | multiline |\n| :----------------------: | :-------------------: | :--------------------: | :-------: |\n|             √            |           √           |           √            |     √     |\n* You can custom cells separator. Default is comma.\n* You can choose whether to support multiline cells. Default is support.\n\n## Usage\nMore examples can be found in the TinyCSV.Example.\n### Reading a CSV file\n```c#\nvar csv = File.ReadAllText(\"sample.csv\");\n//Create csv reader form csv content, custom cell separator.\nCSVTableReader csvTableReader = new CSVTableReader(csv, 2, ',');\n```\n### Writing a CSV file\n```c#\n//Create a empty csv writer.\nCSVTableWriter csvTableWriter = new CSVTableWriter()\n    //Add headers.\n    .AddHeader(new CSVRecordWriter {\"Data1\", \"Data2\"})\n    .AddHeader(new CSVRecordWriter {\"string\", \"int\"})\n    //Add records.\n    .AddRecord(new CSVRecordWriter()\n        .Add(\"string with double quote\\\" and comma, and \\n\\\\n and \\r\\n\\\\r\\\\n\")\n        .Add(\"1\"));\n//Get csv form string, custom cell separator and choose new line style.\nstring csv = csvTableWriter.GetEncodeTable(',', NewLineStyle.NonUnix);\n//Create csv writer from csv content.\nCSVTableWriter csvTableWriter2 = new CSVTableWriter(csv, 2);\n```\n\n## Requirements\nTinyCSV currently targets and supports\n* .NET Framework 4.0 and above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-sb%2Ftinycsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-sb%2Ftinycsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-sb%2Ftinycsv/lists"}