{"id":19024956,"url":"https://github.com/gko/csvy","last_synced_at":"2026-05-07T03:32:58.089Z","repository":{"id":66145955,"uuid":"79061249","full_name":"gko/csvy","owner":"gko","description":"⚗ yaml/json converter to csv","archived":false,"fork":false,"pushed_at":"2017-01-23T18:03:42.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T00:41:21.547Z","etag":null,"topics":["csv","json","node","yaml"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gko.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}},"created_at":"2017-01-15T21:39:04.000Z","updated_at":"2017-05-07T21:28:50.000Z","dependencies_parsed_at":"2023-03-16T10:45:38.945Z","dependency_job_id":null,"html_url":"https://github.com/gko/csvy","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.25806451612903225","last_synced_commit":"bef1711931826f994abdac41fd550ada0256ccf3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gko%2Fcsvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gko%2Fcsvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gko%2Fcsvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gko%2Fcsvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gko","download_url":"https://codeload.github.com/gko/csvy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072132,"owners_count":19743526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["csv","json","node","yaml"],"created_at":"2024-11-08T20:39:41.111Z","updated_at":"2026-04-30T01:30:17.905Z","avatar_url":"https://github.com/gko.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSVy\n![build](https://travis-ci.org/gko/csvy.svg?branch=master)\n[![Coverage Status](https://coveralls.io/repos/github/gko/csvy/badge.svg?branch=master)](https://coveralls.io/github/gko/csvy?branch=master)\n\nyaml/json → csv\n\nFlattens fields and arrays:\n```json\n{\n  \"name\": {\n    \"first\": \"John\",\n    \"last\": \"Snow\"\n  },\n  \"tags\": [\"first\", \"second\", \"last\"]\n}\n```\n\nturns to:\n```csv\n\"name.first\",\"name.last\",\"tags.0\",\"tags.1\",\"tags.2\"\n\"John\",\"Snow\",\"first\",\"second\",\"last\"\n```\n\n## Installation\n\n```bash\nnpm i csvy -g\n```\n\n## Usage\n\n```\nUsage: csvy [options]\nyaml/json converter to csv\nOptions:\n    -h, --help                   output usage information\n    -V, --version                output the version number\n    -d, --delimiter \u003cdelimiter\u003e  delimiter symbol\n    -o, --output \u003cfile\u003e          output file\n```\n\nexamples:\n```bash\ncsvy -o test.csv ./test.json\n```\n\n```bash\ncurl -L https://raw.githubusercontent.com/gko/csvy/master/test/test.yml | csvy\n```\n\nYou can also use it from node:\n\n```javascript\nconst convert = require('csvy');\n\nconvert(`{\"a\":1}`, {delimiter: ';'})\n```\n## Tests\n\nTo run tests you simply need to do:\n```bash\nnpm run test\n```\n\n## Like it?\n\n:star: this repo\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2017 Konstantin Gorodinskiy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgko%2Fcsvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgko%2Fcsvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgko%2Fcsvy/lists"}