Given: a large project, organized as amd modules, which are loaded via requirejs. Some pieces are requested on-demand from inside modules by calling require.
Question: Is there a ready-made tool, or some simple (I’m ready to spend a couple of hours, but not a couple of days to write my own tool) a way to build a dependency graph of this project?
That is, I say the project’s folder or entry point, and it shows me in some kind of person-oriented manner that depends on what, taking into account possible require calls from inside define modules.
UPD: Screwed madge . The tool is working, but it requires numerous dances with a tambourine (however, this is most often associated with the graphviz library used, and with the drawbacks of the madge itself). I would be grateful for the advice of other tools.