MCPcopy Create free account
hub / github.com/EvoMap/evolver / writeJson

Function writeJson

test/webuiObserver.test.js:34–37  ·  view source on GitHub ↗
(filePath, value)

Source from the content-addressed store, hash-verified

32}
33
34function writeJson(filePath, value) {
35 fs.mkdirSync(path.dirname(filePath), { recursive: true });
36 fs.writeFileSync(filePath, JSON.stringify(value, null, 2) + '\n', 'utf8');
37}
38
39function appendJsonl(filePath, rows) {
40 fs.mkdirSync(path.dirname(filePath), { recursive: true });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected