Documentation
¶
Overview ¶
Package purl converts NPM package details into an NPM PackageURL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePackageURL ¶
func MakePackageURL(name string, version string, metadata any) *purl.PackageURL
MakePackageURL returns a package URL for NPM PURLs. Technically they spec requires that package names be lowercase, but that'd make us not be able to disambiguate between some packages in the wild that still use uppercase. See https://github.com/package-url/purl-spec/issues/136
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.