npm install -g js-code-structure
- Open a terminal
- Go to the directory of your project
- Input
jss
an html file describing the relations of your the js files will be created and opened in your browser
-
Ignore some directory inside the directory:
jss --ignore dirname1 dirname2 dirname3 ...
these dirs are ignored by default:
['node_modules', '.git', 'dist', 'build', 'doc', 'test', 'submodules']
-
Show required files: hover on the node
-
Show being required files: click the node
MIT