NpmInstallSettingsExtensions.

AddPackage(NpmInstallSettings, string, string) Method

Summary

Install a package by name and version/tag.

Syntax

public static NpmInstallSettings AddPackage(this NpmInstallSettings settings, string packageName, string versionOrTag)

Parameters

Name Type Description
settings NpmInstallSettings The settings.
packageName string Name of the package.
versionOrTag string Version or tag published to the registry.

Return Value

Type Description
NpmInstallSettings The settings instance with packageName added to Packages.
GitHub
Discussion