Types.LicenseAnalysisResult
↳ LicenseAnalysisResult
byCategory: Record
<LicenseCategory
, number
>
Mapping of license category to count of packages in that category
byLicense: Record
<string
, number
>
Mapping of license name to count of packages with that license
categoriesPresence: Object
Information about the presence of different license categories
Name | Type |
---|---|
hasAllPermissive | boolean |
hasAnyStrongCopyleft | boolean |
hasAnyUnknown | boolean |
hasAnyWeakCopyleft | boolean |
LicenseStats.categoriesPresence
categorizedLicenses: Record
<string
, LicenseCategory
>
description: string
Description of the graph state based on the license categories
total: number
Total number of packages