Open mersadk opened 4 years ago
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
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