JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 31
  • Score
    100M100P100Q62523F
  • License MIT

Display JavaScript dependency graph in a GUI.

Package Exports

  • madge-watch-gui

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (madge-watch-gui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

madge-watch-gui

Display a dependency graph of your JavaScript code in a GUI and update it as files are modified.

Uses Madge, Chokidar and Electron.

Usage

npm install -g madge-watch-gui

madge-watch my_project/index.js
  Usage: madge-watch [options] <src...>

  Options:

    -V, --version            output the version number
    -b, --basedir <path>     base directory for resolving paths
    -x, --exclude <regexp>   exclude modules using RegExp
    -l, --layout <name>      layout engine to use for graph (dot/neato/fdp/sfdp/twopi/circo)
    --extensions <list>      comma separated string of valid file extensions
    --require-config <file>  path to RequireJS config
    --webpack-config <file>  path to webpack config
    --include-npm            include shallow NPM modules
    --no-color               disable color in output and image
    -h, --help               output usage information

Madge works with Typescript too, but you have to point it directly at a .ts file, and not a .js file requiring .ts files.

Dependencies

Requires gvpr from graphviz to be installed. On Ubuntu:

apt install graphviz