(registry?: string)
| 229 | |
| 230 | /** Whether a registry URL points at GitHub Packages (npm.pkg.github.com). */ |
| 231 | export function isGitHubPackagesRegistry(registry?: string): boolean { |
| 232 | return !!registry && registryHost(registry) === GITHUB_PACKAGES_HOST; |
| 233 | } |
| 234 | |
| 235 | /** Whether a registry URL is the public npmjs.com registry (the default). */ |
| 236 | function isDefaultNpmRegistry(registry?: string): boolean { |
no test coverage detected
searching dependent graphs…