npm packages to dump a domain model of a codebase?

Viewed 35

im looking at a large codebase and am wondering if there are any tools to dump the models/ of the codebase so I can visually look at all the entities and how they are tied to one another

I am looking for an output that is akin to an entity relationship diagram that shows relationships between models

Is there such a tool?

edit:

  • the codebase is a nodejs monolith written in es6 (no typescript)
  • also, the DB used is Mongo and the library is mongoose

the folder structure is something like

root
  - models
    - model1
    - model2
  - controllers
  - view
  - ...
0 Answers
Related