1.0.2 • Published 6 months ago

node-vswhere v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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;
    }
}
1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago