(registry: string, name: string)
| 84 | |
| 85 | /** Deterministic package ID: pkg:{registry}:{name} */ |
| 86 | export function packageId(registry: string, name: string): string { |
| 87 | return `pkg:${registry}:${name}`; |
| 88 | } |
| 89 | |
| 90 | /** Return the canonical web URL for a package on its registry. */ |
| 91 | export function packageSourceUrl( |
no outgoing calls
no test coverage detected