puppeteer-finder
Version:
Find a executable Chrome / Edge / Firefox in your system
10 lines (9 loc) • 324 B
TypeScript
export declare const newLineRegex: RegExp;
interface Priority {
regex: RegExp;
weight: number;
}
export declare function sort(installations: string[], priorities: Priority[]): string[];
export declare function canAccess(file: string): boolean;
export declare function isExecutable(file: string): boolean;
export {};