Closed nogweii closed 5 months ago
There is a way already, you can get a json output using the following command:
dep-tree tree your/entrypoint/file --json
beware of versions older than 0.19.4 for big codebases though, as they have some performance issues building json outputs. 0.19.4 should be fine.
Maybe the JSON output? If
dep-tree
could render that json, it could be a useful interchange format to build support in other languages.For me, I was thinking about poking around and exploring this in a few Ruby codebases.