Skip to main content

Module bunfig

Module bunfig 

Source
Expand description

Bun (bunfig.toml) registry discovery and local environment authentication.

Functionsยง

registry_urls
Find eligible registries configured in a Bun configuration file.
transform_bunfig_for_env
Replace eligible Bun authentication entries with a NODE_AUTH_TOKEN reference.
transform_env_local
Add or refresh NODE_AUTH_TOKEN in dotenv content while preserving unrelated lines.