Whether a registry URL is the public npmjs.com registry (the default).
(registry?: string)
| 234 | |
| 235 | /** Whether a registry URL is the public npmjs.com registry (the default). */ |
| 236 | function isDefaultNpmRegistry(registry?: string): boolean { |
| 237 | return !registry || registryHost(registry) === DEFAULT_NPM_HOST; |
| 238 | } |
| 239 | |
| 240 | /** |
| 241 | * Human-readable label for a publish target, accounting for the configured registry. |
no test coverage detected
searching dependent graphs…