MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / findFromEnv

Function findFromEnv

packages/cli/src/browser/manager.ts:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77function findFromEnv(): BrowserResult | undefined {
78 const envPath = process.env["HYPERFRAMES_BROWSER_PATH"];
79 if (envPath && existsSync(envPath)) {
80 return { executablePath: envPath, source: "env" };
81 }
82 return undefined;
83}
84
85async function findFromCache(): Promise<CacheLookupResult> {
86 // 1) Puppeteer's managed cache — where `npx @puppeteer/browsers install

Callers 2

findBrowserFunction · 0.70
ensureBrowserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected