Interface OsvPackageIdentifier

Identifies a package within an ecosystem.

interface OsvPackageIdentifier {
    ecosystem: OsvEcosystem;
    name: string;
    purl?: string;
}

Properties

Properties

ecosystem: OsvEcosystem

The ecosystem the package belongs to (e.g. 'npm', 'PyPI')

name: string

Package name within the ecosystem

purl?: string

Optional Package URL (PURL) — alternative to name + ecosystem