getStructuredLicense

Function

generates the structured license of an item based on its configured "licenseInfo"

Parameters

Parameter Type Default Notes
rawLicense Required string

an item's raw licenseInfo string

Returns

Property Type Notes
type string
abbr Optional string
name Optional string
text Optional string
url Optional string

Function defined in common/src/items/get-structured-license.ts:222