MCPcopy Create free account
hub / github.com/Semporia/Scripts / writeFile

Function writeFile

tools/jd_cfd_SlotMachine.js:184–186  ·  view source on GitHub ↗
(text, filename = 'a.json')

Source from the content-addressed store, hash-verified

182}
183
184function writeFile(text, filename = 'a.json') {
185 fs.writeFileSync(filename, text, 'utf-8')
186}
187
188function jsonParse(str) {
189 if (typeof str == "string") {

Callers 1

goodsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected