{"id":34751414,"url":"https://github.com/tone-row/flowchart-fun-parser","last_synced_at":"2026-05-25T06:03:28.329Z","repository":{"id":56735419,"uuid":"524344138","full_name":"tone-row/flowchart-fun-parser","owner":"tone-row","description":"Parse the flowchart-fun syntax into a graph object which contains nodes and edges with labels.","archived":false,"fork":false,"pushed_at":"2022-08-15T06:04:32.000Z","size":112,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-26T17:05:59.675Z","etag":null,"topics":["flowchart","graph","language","network","syntax"],"latest_commit_sha":null,"homepage":"https://flowchart-fun-parser-demos.vercel.app","language":"TypeScript","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/tone-row.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["tone-row"],"open_collective":"tone-row"}},"created_at":"2022-08-13T08:34:50.000Z","updated_at":"2024-05-28T15:42:07.000Z","dependencies_parsed_at":"2022-08-16T00:50:41.216Z","dependency_job_id":null,"html_url":"https://github.com/tone-row/flowchart-fun-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tone-row/flowchart-fun-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Fflowchart-fun-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Fflowchart-fun-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Fflowchart-fun-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Fflowchart-fun-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tone-row","download_url":"https://codeload.github.com/tone-row/flowchart-fun-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tone-row%2Fflowchart-fun-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33462501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T02:24:28.008Z","status":"ssl_error","status_checked_at":"2026-05-25T02:23:23.339Z","response_time":57,"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":["flowchart","graph","language","network","syntax"],"created_at":"2025-12-25T05:19:37.249Z","updated_at":"2026-05-25T06:03:28.324Z","avatar_url":"https://github.com/tone-row.png","language":"TypeScript","funding_links":["https://github.com/sponsors/tone-row","https://opencollective.com/tone-row"],"categories":[],"sub_categories":[],"readme":"# flowchart fun parser\n\nParse the [flowchart-fun](https://github.com/tone-row/flowchart-fun) syntax into a graph object which contains nodes and edges with labels. \n\nFor those not familiar with this syntax it uses indentation to express parent-child relationships. See it in action at https://flowchart.fun\n\n### [✨\u0026nbsp; Open Interactive Demos \u0026nbsp;✨](https://flowchart-fun-parser-demos.vercel.app/)\n\n---\n\n## Installation\n\n```bash\nnpm install flowchart-fun-parser\n```\n\n## Usage\n\n```js\nimport { parse } from \"flowchart-fun-parser\";\n\nparse(`parent\n  child\n    grandchild`);\n\n/* \nReturns...\n{\n  \"nodes\": [...],\n  \"edges\": [...]\n}\n*/\n```\n\n\n## Repository Goals\n\nGiving the parser its own package has the following goals:\n\n- support the flowchart.fun webapp\n- allow for other tools to be built on top of the same syntax\n- get community input on developing and enhancing the features of the syntax\n- focus on parsing speed with benchmarking\n\n## Language Goals\n\nParse indentation syntax into nodes and edges with their respective labels and data attributes [(\\*\\* check here)](#areas-of-exploration), create ID's for each node and edge.\n\n## Demos\n\nThe demos folder shows examples of using different renderers. [Open Interactive Demos](https://flowchart-fun-parser-demos.vercel.app/)\n\n## Areas of Exploration\n\n- \\*\\* Supporting generalized data attributes, probably in the syntax of css selectors (`[key=\"value\"]`)\n- Creating ID's which use some portion of the label text with a number for order of appearance, so that there is more referential integrity when associating meta information with graph information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftone-row%2Fflowchart-fun-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftone-row%2Fflowchart-fun-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftone-row%2Fflowchart-fun-parser/lists"}