MCPcopy Create free account
hub / github.com/ScrapeGraphAI/just-scrape / resolve

Function resolve

src/lib/env.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30};
31
32function resolve(): Env {
33 const config = loadConfigFile();
34 return {
35 apiKey: process.env.SGAI_API_KEY || (config["api-key"] as string) || undefined,
36 };
37}
38
39export const env = resolve();

Callers 1

env.tsFile · 0.85

Calls 1

loadConfigFileFunction · 0.85

Tested by

no test coverage detected