davglass / license-checker

Check NPM package licenses
Other
1.6k stars 215 forks source link

Question: summary and npm ls giving different results. #229

Open gunaskr opened 4 years ago

gunaskr commented 4 years ago

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?

gunaskr commented 4 years ago

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?