NpmViewVersionAliases.

NpmViewVersion(ICakeContext, string) Method

Summary

View the version of a package.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmViewVersionAliases

Syntax

public static string NpmViewVersion(this ICakeContext context, string package)

Examples

var versionString = NpmViewVersion("cakejs");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
package string The Package.

Return Value

Type Description
string