MCPcopy Create free account
hub / github.com/typicode/lowdb / JSONFileSync

Class JSONFileSync

src/adapters/node/JSONFile.ts:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14export class JSONFileSync<T> extends DataFileSync<T> {
15 constructor(filename: PathLike) {
16 super(filename, {
17 parse: JSON.parse,
18 stringify: (data: T) => JSON.stringify(data, null, 2),
19 })
20 }
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…