--dot(Thanks to @SaeedZhiany)
--circularoption to get a graph with only circular dependencies (Thanks to @gaspardip)
leavesoption to show modules that do not have dependencies (Thanks to @avahe-kellenberger)
dependency-treemodule to get rid of the eslint dependency
--orphansto show modules that no one is depending on.
foo.jsondue to how file extensions are handled.
--stdinto be used for piping a predefined tree.
After 4 years of adding features/fixes it started to be hard to maintain the project and fix some outstanding issues due to how madge was designed to work.
So I decided it was high time for version 1.0 to be released and take the opportunity to do a major rewrite and reduce the size and responsibility of the project and delegate some work to external libraries. This introduced many breaking changes. Here's the most important ones.
--webpack-configfor supporting aliased module paths
--debugfor turning on debug output
--jsonshould now be used instead of
--formatsince the format is now detected automatically from the file content
--main-require-modulesince we no longer support RequireJS builds (r.js)