basalt / create-app/src / registryUrl
Function: registryUrl()
> registryUrl(explicit?, env?): string
Defined in: create-app/src/latest-versions.ts:160
The registry to query: an explicit option, else npm_config_registry (npm and pnpm export it to create binaries, so a private mirror is honored), else the public registry. Trailing slashes are normalized; anything that is not an http(s) URL falls back to the default.
Parameters
explicit?
string
env?
ProcessEnv = process.env
Returns
string