1.0.2 • Published 6 months ago
node-vswhere v1.0.2
node-vswhere
Get information about Visual Studio installations.
Usage
definition
namespace vswhere {
function getVSInstallations(options?: Options): Promise<Installation[]>;
}
example
import { vswhere } from 'node-vswhere';
const installations = await vswhere.getVSInstallations()
.catch(err => []);
additional options
The following options map directly to the switches that vswhere
supports.
namespace vswhere {
interface Options {
all?: boolean;
prerelease?: boolean;
products?: string[];
requires?: string[];
requiresAny?: boolean;
versionRange?: [Version?, Version?];
latest?: boolean;
sort?: boolean;
legacy?: boolean;
}
}