Bun
Bun is a recent Node replacement and competitor.
shell
# To install:
curl -fsSL https://bun.sh/install | bash
Bun sells itself as being much faster than Node. It's worth verifying that this is actually true for your usecase first.
Configuration
Bun stores all configuration for the runtime in a bunfig.toml file.
Private registries
toml
[install]
# This is the default install location.
"registry" = "https://registry.npmjs.org/"
[install.scopes]
# Environment variables are supported in this config.
"@custom" = { url = "https://npm.pkg.github.com", token = "$GITHUB_OAUTH_TOKEN" }
"@again" = { url = "https://npm.pkg.github.com", token = "$GITHUB_OAUTH_TOKEN" }