MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / writeJson

Function writeJson

scripts/release-set-version.mjs:24–26  ·  view source on GitHub ↗
(path, obj)

Source from the content-addressed store, hash-verified

22}
23
24function writeJson(path, obj) {
25 writeFileSync(path, `${JSON.stringify(obj, null, 2)}\n`, "utf8");
26}
27
28function isDir(path) {
29 try {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected