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

Function readJson

scripts/audit-theme-colors.test.mjs:59–61  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

57}
58
59function readJson(filePath) {
60 return JSON.parse(fs.readFileSync(filePath, 'utf8'));
61}
62
63function readText(filePath) {
64 return fs.readFileSync(filePath, 'utf8');

Callers 1

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected