NpmAddUserSettingsExtensions.

ForScope(NpmAddUserSettings, string) Method

Summary

Sets scope for credentials.

Syntax

public static NpmAddUserSettings ForScope(this NpmAddUserSettings settings, string scope)

Parameters

Name Type Description
settings NpmAddUserSettings The settings.
scope string Scope of credentials. Scope must start with an @.

Return Value

Type Description
NpmAddUserSettings The settings instance with scope added to Scope.
GitHub
Discussion