NpmInstallSettingsExtensions.

FromRegistry(NpmInstallSettings, Uri) Method

Summary

Instructs npm to look for packages in the given registry.

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.
GitHub
Discussion