tessl install tessl/npm-libnpmorg@8.0.0Programmatic API for managing npm organization memberships and roles
Agent Success
Agent success rate when using this tile
74%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.97x
Baseline
Agent success rate without this tile
76%
Configure npm CLI defaults for registries and authentication tokens so installs use the right endpoints with persistent credentials.
@generates
/**
* Configures npm registry settings and authentication.
* @param {object} options - Registry and auth preferences.
* @param {string} options.registryUrl - Default registry URL to apply.
* @param {boolean} [options.alwaysAuth=false] - Whether installs should always send credentials.
* @param {string} [options.scope] - Optional package scope to map to a scoped registry.
* @param {string} [options.scopedRegistryUrl] - Registry URL to use for the provided scope.
* @param {string} [options.authToken] - Auth token to store for the relevant registry host.
* @param {string} [options.configPath] - Optional override path for the npm config file to write.
* @param {boolean} [options.verifyLogin=false] - Whether to check the authenticated username after writing config.
* @returns {Promise<{ configPath: string, username?: string }>} Details about where config was written and, if requested, who is authenticated.
*/
export async function configureNpm(options);Command-line client for the Node package registry; use it to write configuration and authenticate with registries. @satisfied-by