Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

See dependency graph within npm module

Is there an NPM module that can show the dependencies between individual JS files within a module?

Suppose I have 20 JS files in my own NPM module; I'd like to see the dependency tree between my 20 JS files.

like image 745
kevin628 Avatar asked Aug 31 '25 04:08

kevin628


1 Answers

Some tools are available to graph the obvious dependencies (the ones you can guess from a static analysis).

See for example MaDGe - Module Dependency Graph

like image 107
Denys Séguret Avatar answered Sep 02 '25 17:09

Denys Séguret