{"id":16103197,"url":"https://github.com/icyflame/launchdarkly-prereq-graph-gen","last_synced_at":"2025-08-16T23:10:49.119Z","repository":{"id":44126458,"uuid":"189706759","full_name":"icyflame/launchdarkly-prereq-graph-gen","owner":"icyflame","description":"Generates a DOT file with the directed graph depicting the pre-requisite relationship in your LD setup","archived":false,"fork":false,"pushed_at":"2022-12-09T07:38:21.000Z","size":22,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T01:26:40.809Z","etag":null,"topics":["graphviz-dot","launchdarkly"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icyflame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-01T08:02:52.000Z","updated_at":"2019-06-25T08:32:42.000Z","dependencies_parsed_at":"2023-01-25T12:10:17.442Z","dependency_job_id":null,"html_url":"https://github.com/icyflame/launchdarkly-prereq-graph-gen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icyflame/launchdarkly-prereq-graph-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyflame%2Flaunchdarkly-prereq-graph-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyflame%2Flaunchdarkly-prereq-graph-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyflame%2Flaunchdarkly-prereq-graph-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyflame%2Flaunchdarkly-prereq-graph-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icyflame","download_url":"https://codeload.github.com/icyflame/launchdarkly-prereq-graph-gen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyflame%2Flaunchdarkly-prereq-graph-gen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270781393,"owners_count":24643820,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":["graphviz-dot","launchdarkly"],"created_at":"2024-10-09T18:56:16.263Z","updated_at":"2025-08-16T23:10:49.077Z","avatar_url":"https://github.com/icyflame.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaunchDarkly Pre-requisites Graph Generator\n\n\u003e Generates a [DOT][1] file which can be built to an image depicting the\n\u003e pre-requisite relationship in your LaunchDarkly setup\n\n### Commands\n\n**Note:** There might be some flags that start with a digit `[0-9]`. DOT doesn't\ncompile if there are nodes with identifiers starting with a digit. The script\nwill prefix `flag_` to make sure that they are valid identifiers.\n\n```sh\nLD_API_KEY=$LD_API_KEY node index.js;\n# For incomplete flag configurations\nsed -ie \"/-\u003e  \\[/d\" test.dot;\ndot -Tsvg -O test.dot;\n```\n\n### Example\n\n[Dot file][2]\n\n![Compiled image][3]\n\n- 6 flags in LaunchDarkly\n- A has a pre-requisite of `B.variation-0`\n- C has a pre-requisite of `D.variation-2`\n- A has a pre-requisite of `E.variation-1`\n- F has a pre-requisite of `B.variation-0`\n\nFrom the graph, it becomes clear that as the targetting for D is off (indicated\nby the red color box), the flag C is not really targetting any users.\n\n[1]: https://www.graphviz.org/doc/info/lang.html\n[2]: ./example.dot\n[3]: ./example.dot.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyflame%2Flaunchdarkly-prereq-graph-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficyflame%2Flaunchdarkly-prereq-graph-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyflame%2Flaunchdarkly-prereq-graph-gen/lists"}