Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalized licenses on package/version endpoint #960

Open
mcombuechen opened this issue Nov 28, 2024 · 0 comments
Open

Normalized licenses on package/version endpoint #960

mcombuechen opened this issue Nov 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mcombuechen
Copy link

Hello! 👋

Bit of a continuation of #360, but I'd love to find out if normalized_licenses could also get added to a package's versions response.

Example:

https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ua-parser-js contains licenses as well as normalized_licenses:

"licenses": "AGPL-3.0-or-later",
"normalized_licenses": ["AGPL-3.0-or-later"],

In a previous version they did however use other licenses (MIT, GPLv2) but that can't be read in its normalized format from https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ua-parser-js/versions/0.7.1:

"licenses": "GPLv2,MIT"

It would be great if normalized licenses could get added to this endpoint as well! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants