js-code-structure

    0.1.11 • Public • Published

    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

    paypal donate

    Install

    npm i js-code-structure

    DownloadsWeekly Downloads

    24

    Version

    0.1.11

    License

    MIT

    Last publish

    Collaborators

    • timqian