MCPcopy Create free account
hub / github.com/ShivaBhattacharjee/KeyZen / main

Function main

data/javascript/01_fetch_api.js:9–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7}
8
9async function main() {
10 try {
11 const user = await fetchUser(123);
12 console.log(user.name);
13 } catch (err) {
14 console.error("Failed:", err.message);
15 }
16}
17
18main();

Callers 1

01_fetch_api.jsFile · 0.70

Calls 2

fetchUserFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected