Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anus-dev/ANUS
/ readJson
Function
readJson
scripts/version.js:19–21 ·
view source on GitHub ↗
(filePath)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
readJson(filePath) {
20
return
JSON.parse(readFileSync(filePath,
'utf-8'
));
21
}
22
23
function
writeJson(filePath, data) {
24
writeFileSync(filePath, JSON.stringify(data, null, 2) +
'\n'
);
Callers
1
version.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected