chrome-location2
Version:
Approximates the current location of the Chrome browser across platforms.
12 lines (11 loc) • 340 B
TypeScript
import fs from 'node:fs';
type FsLike = Pick<typeof fs, 'existsSync' | 'readdirSync' | 'statSync'>;
type EnvLike = NodeJS.ProcessEnv;
export declare function resolveFromPuppeteerCache(deps?: {
fs?: FsLike;
env?: EnvLike;
platform?: NodeJS.Platform;
homeDir?: string;
localAppData?: string;
}): string | null;
export {};