NpmInstallSettingsExtensions.

FromRegistry(NpmInstallSettings, Uri) Method

Summary

Instructs npm to look for packages in the given registry.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Install
Containing Type
NpmInstallSettingsExtensions

Syntax

public static NpmInstallSettings FromRegistry(this NpmInstallSettings settings, Uri registry)

Parameters

Name Type Description
settings NpmInstallSettings The settings.
registry Uri The registry to look up packages from

Return Value

Type Description
NpmInstallSettings The settings instance with Registry set to registry.