kessler / license-report

create a short report about a project's dependencies (license, url etc)
MIT License
223 stars 39 forks source link

Transitive Licenses #142

Closed minecrawler closed 1 year ago

minecrawler commented 1 year ago

It's great to get a report about direct licenses, however they are mostly already known to developers, since they add them manually. What's more interesting, for legal reasons, are transitive licenses.

Is there a way to get them using this tool, or do you plan to add them?

BePo65 commented 1 year ago

By 'transitive license' you mean the licenses of the dependencies of the direct dependencies. To get the indirect licenses we need to recurse through all the licenses.

To keep license-report focused, I created a derived version with recursion: license-report-recursive on npm with the repository on github. Just give it a try.