MCPcopy
hub / github.com/yarnpkg/yarn / readJson

Function readJson

src/util/fs.js:641–643  ·  view source on GitHub ↗
(loc: string)

Source from the content-addressed store, hash-verified

639}
640
641export async function readJson(loc: string): Promise<Object> {
642 return (await readJsonAndFile(loc)).object;
643}
644
645export async function readJsonAndFile(
646 loc: string,

Callers 2

getInstallationMethodFunction · 0.90
pnp.jsFile · 0.85

Calls 1

readJsonAndFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…