This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Npm.
Summary
View the version of a package.
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