{"id":26190022,"url":"https://github.com/zazuko/rdf-parser-csvw","last_synced_at":"2026-04-19T22:34:15.102Z","repository":{"id":242502490,"uuid":"809721936","full_name":"zazuko/rdf-parser-csvw","owner":"zazuko","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-17T10:12:12.000Z","size":527,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-26T10:50:26.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zazuko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-06-03T10:21:37.000Z","updated_at":"2024-06-17T10:12:16.000Z","dependencies_parsed_at":"2024-06-03T12:41:09.972Z","dependency_job_id":"ab66cbbf-c979-4902-9a79-2863e982faaa","html_url":"https://github.com/zazuko/rdf-parser-csvw","commit_stats":null,"previous_names":["zazuko/rdf-parser-csvw"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/zazuko/rdf-parser-csvw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-parser-csvw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-parser-csvw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-parser-csvw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-parser-csvw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zazuko","download_url":"https://codeload.github.com/zazuko/rdf-parser-csvw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-parser-csvw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":[],"created_at":"2025-03-12T00:52:15.289Z","updated_at":"2026-04-19T22:34:15.083Z","avatar_url":"https://github.com/zazuko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdf-parser-csvw\n\nA CSV on the Web parser with [RDFJS Stream interface](https://github.com/rdfjs/representation-task-force/).\n\n⛓️‍💥 Fork of rdf-ext/rdf-parser-csvw converted to ESM, including some tweaks and fixes\n    \n## Usage\n\nThe package exports the parser as a class, so an instance must be created before it can be used.\nThe `.import` method, as defined in the [RDFJS specification](http://rdf.js.org/#sink-interface), must be called to do the actual parsing.\nIt expects a stream of strings.\nThe method will return a stream which emits the parsed quads.\n\nThe constructor accepts an `options` object with the following optional keys:\n\n- `metadata`: Use the metadata to convert the CSV to RDF.\n  The metadata must be given as a Dataset using the CSV on the Web ontology.\n  This options is required.\n- `baseIRI`: Use the IRI to create Named Nodes.\n  The value must be a String.\n  This options is required.\n- `factory`: Use an alternative RDFJS data factory.\n  By default the [reference implementation](https://github.com/rdfjs/data-model/) us used.\n- `timezone`: Use an alternative timezone to parse date and time values.\n  The value must be given as a String as defined in the [Luxon documentation](https://moment.github.io/luxon/docs/manual/zones.html#specifying-a-zone).\n  By default `local` will be used.\n- `relaxColumnCount`: Don't throw an error if a row has a column count which doesn't match the headers column count.\n- `skipLinesWithError`: Skip lines with error instead of throwing an error and stop parsing.\n  This is mainly useful for debugging and should not be used in production environments.\n- `skipEmptyLines`: Ignore empty lines in the CSV file.\n- `trimHeaders`: Remove whitespace from the beginning and end of the column names.\n\nIt's also possible to pass options as second argument to the `.import` method.\nThe options from the constructor and the `.import` method will be merged together.\n\n## Compliance with the CSVW specification\n\n### Dates and times\n\n- Date/Time formats are generally supported with possible issues around the timezone specifier `X` and the exact formatting of the timezone offset.\n- [RFC2822 dates](https://datatracker.ietf.org/doc/html/rfc2822#page-14) are supported via explict 'RFC2822' datatype format (case insensitive).\n- Time formats are implemented but the output will always be normalised to UTC. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazuko%2Frdf-parser-csvw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzazuko%2Frdf-parser-csvw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazuko%2Frdf-parser-csvw/lists"}