node-version-use
Version:
Cross-platform solution for using multiple versions of node. Useful for compatibility testing
10 lines (9 loc) • 365 B
text/typescript
/**
* Find all installed versions matching the given version string
* Results are sorted in ascending semver order (lowest first, highest last)
*/
export declare function findInstalledVersions(versionsPath: string, version: string): string[];
/**
* Get all installed versions
*/
export declare function getAllInstalledVersions(versionsPath: string): string[];