MCPcopy
hub / github.com/omkarcloud/botasaurus / writeJson

Function writeJson

js/botasaurus-js/src/cache.ts:17–19  ·  view source on GitHub ↗
(data: any, path: string)

Source from the content-addressed store, hash-verified

15}
16
17function writeJson(data: any, path: string): void {
18 fs.writeFileSync(path, JSON.stringify(data), { encoding: "utf-8" });
19}
20
21function getFnName(func: Function | string): string {
22 return typeof func === 'string' ? func : func.name;

Callers 3

runTaskFunction · 0.90
runPlaywrightFunction · 0.90
output.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected