davglass / license-checker

Check NPM package licenses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: summary and npm ls giving different results.

gunaskr opened this issue · comments

when we run:
license-checker --development --summary and npm ls --parseable --dev | wc -l are giving different numbers.I'm not sure how to debug this issue as we have lots of dependencies. Is this expected issue?

npm ls --parseable --dev was not giving unique package names. After removing the duplicate packages. It seems license-checker is showing more packages than shown in by the filtered unique packages from npm ls --parseable?