madge

v8.0.0
Create graphs from module dependencies.
ES6 ES7 AMD RequireJS require module circular dependency dependencies and 3 more...

test

npm run lint && npm run mocha

mocha

mocha test/*.js

watch

mocha --watch --growl test/*.js

lint

eslint bin/cli.js lib test/*.js

debug

node bin/cli.js --debug bin lib

generate

npm run generate:small && npm run generate:madge

generate:small

bin/cli.js --image /tmp/simple.svg test/cjs/circular/a.js

generate:madge

bin/cli.js --image /tmp/madge.svg bin lib

test:output

./test/output.sh

release

npm test && release-it
npm i madge

Metadata

  • MIT
  • >=18
  • Patrik Henningsson
  • released 8/5/2024

Downloads