NpmAddUserSettingsExtensions.

ForRegistry(NpmAddUserSettings, Uri) Method

Summary

Instructs npm to add user for the given registry.

Syntax

public static NpmAddUserSettings ForRegistry(this NpmAddUserSettings settings, Uri registry)

Parameters

Name Type Description
settings NpmAddUserSettings The settings.
registry Uri The registry for the user.

Return Value

Type Description
NpmAddUserSettings The settings instance with Registry set to registry.
GitHub
Discussion