license-checker
license-checker copied to clipboard
List only top level dependancies
Is there an option to only output dependencies up to X levels deep. e.g. --production --depth 0 Would only list the dependencies under production but not any of their dependencies. This is handy for generating a top level list dependencies and their licenses for a project.
Just spotted an exiting pull request #136
That PR has been merged now. (So I guess this issue could be closed as well? @davglass )
The options --depth 0
and --direct
do not work. I'm still presented with ALL dependencies and dependencies of my dependencies using either option.
A search of the codebase shows that there is no actual code handling the --direct
flag, only README changes. Additionally, the README is improperly formatted. I think #136 was not merged correctly.
+1
Same problem as #191
Any solution for that issue?
Any updates on this?
npm-license-crawler with the --onlyDirectDependencies
flag seems to work