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

Some packages returns array of licenses #236

Open
mersadk opened this issue Mar 24, 2020 · 0 comments
Open

Some packages returns array of licenses #236

mersadk opened this issue Mar 24, 2020 · 0 comments

Comments

@mersadk
Copy link

mersadk commented Mar 24, 2020

In most cases license property is a simple string, but for some packages it's array.
This makes parsing JSON reliably hard.
Ideally licenses property would always be array, even if it contains only one element.

Example of such package is https://www.npmjs.com/package/json-schema

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

No branches or pull requests

1 participant