Interface: IPackageLicenseInfo
#
@jupyterlite/licenses.IPackageLicenseInfo
A best-effort single bundled package’s information.
Note
This is roughly informed by SPDX packages
and hasExtractedLicenseInfos
,
as making it conformant would vastly complicate the structure.
See
https://github.com/spdx/spdx-spec/blob/development/v2.2.1/schemas/spdx-schema.json
Hierarchy#
ReadonlyJSONObject
↳
IPackageLicenseInfo
Properties#
extractedText
#
extractedText
:string
the verbatim extracted text of the license, or an empty string if unknown
Defined in#
licenseId
#
licenseId
:string
an SPDX license identifier or LicenseRef, or an empty string if unknown
Defined in#
name
#
name
:string
the name of the package as it appears in package.json
Defined in#
versionInfo
#
versionInfo
:string
the version of the package, or an empty string if unknown