express icon indicating copy to clipboard operation
express copied to clipboard

chore: add license readme badge

Open lukeed opened this issue 4 months ago • 4 comments

This service recursively checks/lists all licenses within a package's dependency graph.

In this case, express has 61 total licenses within its graph. Because there are 3 different license types (MIT, ISC, BSD3) – and they're all "green" licenses — the total number of licenses is shown.

lukeed avatar Jan 25 '24 00:01 lukeed

Thank you. I'm not 100% this needs to be a badge, but at the very least needs to be one fr badgen.net

dougwilson avatar Jan 25 '24 00:01 dougwilson

It’s just here as an option in case you’d like it :)

the difference from badgen is that they only display express’ license directly (MIT) but they don’t analyze the whole graph. Given that Express is the foundation to so many projects, this is a lot more helpful to legal teams in know that “everything here is in the clear” vs “just this single package has an acceptable license”

lukeed avatar Jan 25 '24 01:01 lukeed

Oh, sorry, I don't mean it has to use some existing source badgen.net already has, only that our policy is only badgen.net badges in the readme. You can have badgen.net add this site as a source.

I took a look at the badge and it currently says "licenses 62" -- i mistakenly assumed based on your description it would list the three types.

dougwilson avatar Jan 25 '24 01:01 dougwilson

Ah gotcha. The site lists the total license count and green/red status. So it also doubles as a total dependency count. Eventually it’ll have the ability to export all (62, in this case) licenses to a ZIP/txt file for distribution compliance (since so many bundled projects omit/ignore licenses outright)

lukeed avatar Jan 25 '24 01:01 lukeed