node-version-use
Version:
Cross-platform solution for using multiple versions of node. Useful for compatibility testing
12 lines (11 loc) • 472 B
text/typescript
/**
* Find a system binary by searching PATH, excluding ~/.nvu/bin and version directories
* Returns the full path to the binary, or null if not found
* NOTE: Keep in sync with Node.js resolveSystemBinary
*/
export declare function resolveSystemBinary(name: string): string | null;
/**
* Get PATH with ~/.nvu/bin and version directories removed
* Used to create an environment for spawning system commands
*/
export declare function getPathWithoutNvuBin(): string;