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#

packages/licenses/src/tokens.ts:83

licenseId#

licenseId: string

an SPDX license identifier or LicenseRef, or an empty string if unknown

Defined in#

packages/licenses/src/tokens.ts:79

name#

name: string

the name of the package as it appears in package.json

Defined in#

packages/licenses/src/tokens.ts:71

versionInfo#

versionInfo: string

the version of the package, or an empty string if unknown

Defined in#

packages/licenses/src/tokens.ts:75