{"id":13624671,"url":"https://github.com/whyboris/TypeScript-Call-Graph","last_synced_at":"2025-04-16T01:31:53.022Z","repository":{"id":37558191,"uuid":"269811752","full_name":"whyboris/TypeScript-Call-Graph","owner":"whyboris","description":"CLI to generate an interactive graph of functions and calls from your TypeScript files","archived":false,"fork":false,"pushed_at":"2023-02-24T17:02:10.000Z","size":1096,"stargazers_count":237,"open_issues_count":9,"forks_count":20,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-30T21:04:24.162Z","etag":null,"topics":["callgraph","cli","typescript"],"latest_commit_sha":null,"homepage":"","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/whyboris.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":"2020-06-05T23:50:31.000Z","updated_at":"2024-10-30T14:44:25.000Z","dependencies_parsed_at":"2024-01-07T12:18:41.503Z","dependency_job_id":"b8e3f8cb-54c6-4359-b594-885a5d4e03df","html_url":"https://github.com/whyboris/TypeScript-Call-Graph","commit_stats":{"total_commits":39,"total_committers":5,"mean_commits":7.8,"dds":"0.20512820512820518","last_synced_commit":"abe2e9a0f76dc3a4efd78b0851acf10aa4784397"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FTypeScript-Call-Graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FTypeScript-Call-Graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FTypeScript-Call-Graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FTypeScript-Call-Graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whyboris","download_url":"https://codeload.github.com/whyboris/TypeScript-Call-Graph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223691712,"owners_count":17186869,"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":["callgraph","cli","typescript"],"created_at":"2024-08-01T21:01:45.029Z","updated_at":"2025-04-16T01:31:53.014Z","avatar_url":"https://github.com/whyboris.png","language":"JavaScript","readme":"[![npm version](https://badge.fury.io/js/typescript-call-graph.svg)](https://badge.fury.io/js/typescript-call-graph)\n\n# TypeScript Call Graph\n\nThis **CLI** will create an interactive graph of all the functions and their calls in the TypeScript files you provide.\n\n⚠️ This is a work in progress 🚧 More visualization contributions are welcome.\n\n![image](https://user-images.githubusercontent.com/17264277/85908941-62ba6d00-b7e5-11ea-8e50-2686990aa4f5.png)\n\n## How to use\n\nInstall globally:\n\n```sh\nnpm install -g typescript-call-graph\n```\n\nInside any directory, run:\n\n```sh\ntcg\n```\n\nIt will remind you how to use the CLI: you need to provide specific files, or globs (wildcard paths):\n\n```sh\ntcg myFile.ts folder/* anotherFolder/**/*\n```\n\n## Developing\n\nClone repository. Edit `index.ts` and/or `extract.ts` and run `npm start` to build changes, `npm test` to run CLI against files in this repository.\n\nSuggestions or PRs for how to improve this CLI are very welcome \t🙇\n\nYou may also edit this repository as you'd like and install your custom version of `tcg` command with `npm run global`\n\n### Thank you\n\n- [Matteo Abrate](https://observablehq.com/@nitaku/tangled-tree-visualization-ii) for the _tangled tree visualization_\n- [Mike Bostock](https://observablehq.com/@d3/arc-diagram) for the _arc diagram_\n- [GraphViz](https://graphviz.org/), [node-graphviz](https://github.com/glejeune/node-graphviz), and [d3-graphviz](https://github.com/magjac/d3-graphviz) for the simple graph\n- [Mermaid-JS](https://github.com/mermaid-js/mermaid) for a way to create a graph\n- [Tutorial](https://convincedcoder.com/2019/01/19/Processing-TypeScript-using-TypeScript/) and code for processing TypeScript (AST)\n- [Tutorial](https://developer.okta.com/blog/2019/06/18/command-line-app-with-nodejs) for creating a *CLI*\n- [TS-Call-Graph](https://github.com/Deskbot/TS-Call-Graph) for inspiration\n","funding_links":[],"categories":["JavaScript","Programming Languages"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyboris%2FTypeScript-Call-Graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhyboris%2FTypeScript-Call-Graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyboris%2FTypeScript-Call-Graph/lists"}