Example #1
0
 public static void Install(this NpmPackage package, string workingDirectory, Action <object, DataReceivedEventArgs> output = null, Action <object, DataReceivedEventArgs> error = null, bool forceReinstall = false, int timeoutSeconds = 60)
 {
     InstallNpmPackage(package.Id, workingDirectory, output, error, forceReinstall, timeoutSeconds);
 }
Example #2
0
 public static void InstallGlobally(this NpmPackage package, Action <object, DataReceivedEventArgs> output = null, Action <object, DataReceivedEventArgs> error = null, bool forceReinstall = false, int timeoutSeconds = 60)
 {
     InstallNpmPackageGlobally(package.Id, output, error, forceReinstall, timeoutSeconds);
 }