set default registry as a string
The default registry is registry.npmjs.org. This can be globally configured in bunfig.toml.
[install]# set default registry as a stringregistry = "https://registry.npmjs.org"
# if needed, set a tokenregistry = { url = "https://registry.npmjs.org", token = "123456" }
# if needed, set a username/passwordregistry = "https://username:password@registry.npmjs.org"Your bunfig.toml can reference environment variables. JSTime automatically loads environment variables from .env.local, .env.[NODE_ENV], and .env. See Docs > Environment variables for more information.
[install]registry = { url = "https://registry.npmjs.org", token = "$npm_token" }See Docs > Package manager for complete documentation of JSTime’s package manager.