This content is part of a third party extension that is not supported by the Cake project.
Summary
Installs the specified resource.
- Assembly
- Cake
.Npm .Module .dll - Namespace
- Cake
.Npm .Module - Containing Type
- NpmPackageInstaller
Syntax
public IReadOnlyCollection<IFile> Install(PackageReference package, PackageType type, DirectoryPath path)
Parameters
| Name | Type | Description |
|---|---|---|
| package | PackageReference | The package resource. |
| type | PackageType | The package type. |
| path | DirectoryPath | The location where to install the resource. |
Return Value
| Type | Description |
|---|---|
| IReadOnlyCollection |
The installed files. |
