MCPcopy
hub / github.com/callstack/agent-device / readJson

Function readJson

test/integration/installed-package-metro.test.ts:20–22  ·  view source on GitHub ↗
(stdout: string)

Source from the content-addressed store, hash-verified

18}
19
20function readJson(stdout: string): any {
21 return JSON.parse(stdout);
22}
23
24async function execFileText(
25 file: string,

Callers 2

runNodeModuleJsonFunction · 0.70

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected