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

Function env

packages/engine/src/config.ts:322–322  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

320 */
321export function resolveConfig(overrides?: Partial<EngineConfig>): EngineConfig {
322 const env = (key: string): string | undefined => process.env[key];
323 const envNum = (key: string, fallback: number): number => {
324 const raw = env(key);
325 if (raw === undefined || raw === "") return fallback;

Callers 7

envNumFunction · 0.85
envBoolFunction · 0.85
envVp9CpuUsedFunction · 0.85
envBrowserGpuModeFunction · 0.85
resolveLowMemoryModeFunction · 0.85
resolveStaticFrameDedupFunction · 0.85
resolveConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected