Skip to content

timqian/js-code-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Figure out relations between your js files (through require() and import)

npm

Example: Appium code:

appium code

Install

npm install -g js-code-structure

Usage

  1. Open a terminal
  2. Go to the directory of your project
  3. Input jss

an html file describing the relations of your the js files will be created and opened in your browser

Advanced Usage

  1. 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']

  2. Show required files: hover on the node

  3. Show being required files: click the node

Tools

sigma.js

Thanks

License

MIT

Donate with bitcoin

About

Analyse the structure of your js project (relations between js files)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published