Some packages returns array of licenses
mersadk opened this issue · comments
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