id = "nrm" name = "nrm" homepage = "https://github.com/Pana/nrm" description = "npm registry manager can help you switch different npm registries easily and quickly." executables = ["nrm"] [dotfiles] # nrm's own dist/constants.js: # exports.NRMRC = path.join(os.homedir(), '.nrmrc'); # and dist/helpers.js reads and writes it with the `ini` package, so it is a # line-oriented INI file with one [section] per custom registry. The preset # registries (npm, yarn, taobao, …) are compiled into constants.js; only the # ones the user adds with `nrm add` land in the file. The current registry # itself is stored in ~/.npmrc, which the npm entry covers. paths = ["~/.nrmrc"] exclude = [] secret = [] # Read once per invocation. side_effect = false # constants.js: REGISTRY_ATTRS = [registry, home, _auth, always-auth]. `_auth` # is the base64 registry credential nrm keeps per custom registry; the other # three are URLs and a boolean. [[dotfiles.secret_paths]] file = "~/.nrmrc" match = { prefix = ["_auth"] }