MCPcopy Create free account
hub / github.com/GCWing/BitFun / readJson

Function readJson

scripts/i18n-contract.test.mjs:24–26  ·  view source on GitHub ↗
(relativePath)

Source from the content-addressed store, hash-verified

22];
23
24function readJson(relativePath) {
25 return JSON.parse(fs.readFileSync(path.join(root, relativePath), 'utf8'));
26}
27
28function readText(relativePath) {
29 return fs.readFileSync(path.join(root, relativePath), 'utf8');

Callers 1

Calls 2

parseMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected