MCPcopy
hub / github.com/google/gts / formatJson

Function formatJson

src/init.ts:157–160  ·  view source on GitHub ↗
(object: {})

Source from the content-addressed store, hash-verified

155}
156
157function formatJson(object: {}) {
158 const json = JSON.stringify(object, null, ' ');
159 return `${json}\n`;
160}
161
162async function writePackageJson(
163 packageJson: PackageJSON,

Callers 2

writePackageJsonFunction · 0.85
generateTsConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…