madge-path-filter Dependency filter for madge. Filters the dependency tree for the given module. Installation $ npm -g install madge-path-filter Example: piping madge output through madge-path-filter madge --json App.jsx | madge-path-filter --entry 'App.jsx' --target 'hooks/useAuth' | madge --stdin -i "image.png"