Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
function
resolve(): Env {
33
const
config = loadConfigFile();
34
return
{
35
apiKey: process.env.SGAI_API_KEY || (config[
"api-key"
] as string) || undefined,
36
};
37
}
38
39
export
const
env = resolve();
Callers
1
env.ts
File · 0.85
Calls
1
loadConfigFile
Function · 0.85
Tested by
no test coverage detected