{"id":28937552,"url":"https://github.com/duologic/csv-libsonnet","last_synced_at":"2026-01-31T07:03:20.868Z","repository":{"id":296923350,"uuid":"994416285","full_name":"Duologic/csv-libsonnet","owner":"Duologic","description":"Jsonnet library to parse CSV files.","archived":false,"fork":false,"pushed_at":"2025-06-03T12:33:07.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-22T21:36:28.412Z","etag":null,"topics":["jsonnet","jsonnet-libs"],"latest_commit_sha":null,"homepage":"","language":"Jsonnet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Duologic.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2025-06-01T22:10:36.000Z","updated_at":"2025-06-03T12:33:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"406fd18e-b238-43d7-933f-3aa74011d46c","html_url":"https://github.com/Duologic/csv-libsonnet","commit_stats":null,"previous_names":["duologic/csv-libsonnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Duologic/csv-libsonnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcsv-libsonnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcsv-libsonnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcsv-libsonnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcsv-libsonnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duologic","download_url":"https://codeload.github.com/Duologic/csv-libsonnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcsv-libsonnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28932601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"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":["jsonnet","jsonnet-libs"],"created_at":"2025-06-22T21:30:51.931Z","updated_at":"2026-01-31T07:03:20.864Z","avatar_url":"https://github.com/Duologic.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csv-libsonnet\n\nJsonnet library to parse CSV files.\n\nIt parses files according to [RFC4180](https://datatracker.ietf.org/doc/html/rfc4180). It also accepts LF as line breaks and the TEXTDATA is as liberal as Jsonnet can be.\n\nTested with test suite from [max-mapper/csv-spectrum](https://github.com/max-mapper/csv-spectrum) and [sineemore/csv-test-data](https://github.com/sineemore/csv-test-data), passing a total of 29 test cases.\n\n## Usage\n\n```jsonnet\nlocal parser = import 'github.com/Duologic/csv-libsonnet/main.libsonnet';\nlocal csv = importstr 'path/to/your.csv';\n\nparser.parse(csv) // with headers, returns an object for each record\nparser.parseRecords(csv) // without headers, returns an array for each record\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fcsv-libsonnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduologic%2Fcsv-libsonnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fcsv-libsonnet/lists"}