{"id":19453545,"url":"https://github.com/eye-wave/eri","last_synced_at":"2026-02-23T18:10:17.482Z","repository":{"id":216722839,"uuid":"742140205","full_name":"eye-wave/ERI","owner":"eye-wave","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-12T06:50:52.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T08:10:37.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/eye-wave.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}},"created_at":"2024-01-11T20:58:17.000Z","updated_at":"2025-02-13T05:22:40.000Z","dependencies_parsed_at":"2024-01-12T09:11:16.270Z","dependency_job_id":null,"html_url":"https://github.com/eye-wave/ERI","commit_stats":null,"previous_names":["eye-wave/eri"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eye-wave/ERI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2FERI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2FERI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2FERI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2FERI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eye-wave","download_url":"https://codeload.github.com/eye-wave/ERI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2FERI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29750062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"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":[],"created_at":"2024-11-10T17:04:59.100Z","updated_at":"2026-02-23T18:10:17.451Z","avatar_url":"https://github.com/eye-wave.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 襟 Eri \n\nEri - **Extendable record interface**\n\nElegant file format that enhances the traditional CSV structure by introducing static typed values, comments, nested properties, arrays and custom type definitions for the parser.\n\n## Features\n\n### Static types\nEri supports a range of default static types, ensuring robust and statically-typed data representation. The following types are natively supported:\n\n- Numbers\n- - Unsigned integers: `u8`, `u16`, `u32`\n- - Signed integers: `i8`, `i16`, `i32`\n- - Floating point numbers: `f32`, `f64`\n- Boolean: `bool`\n- String: `string`\n\n\u003e default field type is **string**, so you can avoid using `:string`\n\n### Comments\n\nEri allows you to add comments to your files using the `#` symbol. This feature enables you to document your datasets, providing context and explanations for better understanding.\n\n### Arrays\n\nEri supports basic arrays, like number or string arrays. **Arrays can only contain values of default supported types**. Use square brackets (`[]`) in the header to represent arrays, enhancing the versatility of your datasets.\n\n### Nested Properties\n\nWith Eri, you can represent nested properties using a dot (`.`) in the header. For example if you want to create this object in eri:\n```ts\nsocial_links: {\n  youtube: string,\n  instagram: string,\n  linkedin: string\n}\n```\nyou'd write something like this in the header:\n```\nsocial_links.youtube:string,\nsocial_links.instagram:string\nsocial_links.linkedin:string\n```\n\n### Custom types / Preprocessors\n\nEri parser introduces *custom types*. Providing a function to the parser you can preprocess data in a way that matches your project perfectly. You could make for example a :date type which would transform timestamps into locale formatted date.\n\n## Example\n\n```eri\n# Sample Eri File\nname:string,age:u8,grades:f32[],isActive:bool,contact.address.city:string,contact.address.zip:u32 # Column types\n\nJohn Doe,25,[85.5, 90.0, 78.3],true,New York,10001\nJane Smith,30,[92.3, 88.5, 94.1],false,San Francisco,94105\nBob Johnson,22,[78.9, 80.2, 85.0],true,Seattle,98101\n...\n```\n\nJson output:\n```json\n[\n  {\n    \"name\": \"John Doe\",\n    \"age\": 25,\n    \"grades\": [85.5, 90.0, 78.3],\n    \"isActive\": true,\n    \"contact\": {\n      \"address\": {\n        \"city\": \"New York\",\n        \"zip\": 10001\n      }\n    }\n  }\n  ...\n]\n```\n\nSee how the header can get pretty long? Eri allows you to write header fields line by line\n\n```eri\n# Sample .eri file\nname\nage:i32\nsubjects:[]string\nis_active:bool\n\nJohn Doe,25,[\"Math\", \"Physics\", \"Chemistry\"],true\nJane Smith,30,[\"English\", \"History\", \"Art\"],false\nBob Johnson,22,[\"Computer Science\", \"Statistics\"],true\n...\n```\n\nJson output:\n```json\n[\n  {\n    \"name\": \"John Doe\",\n    \"age\": 25,\n    \"subjects\": [\"Math\", \"Physics\", \"Chemistry\"],\n    \"is_active\": true\n  }\n  ...\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feye-wave%2Feri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feye-wave%2Feri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feye-wave%2Feri/lists"}