license-checker
license-checker copied to clipboard
license field output not normalized
in the case where there is one license, the api returns:
licenses: 'SOMELICENSE'
in the case where there are many licenses, the api returns:
licenses: ['L1, 'L2']
it would be nice to unify the type output to always an array, or array|null
Sure, it does make sense to always return an Array
or null
.