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

Method constructor

src/adapters/node/TextFile.ts:13–16  ·  view source on GitHub ↗
(filename: PathLike)

Source from the content-addressed store, hash-verified

11 #writer: Writer
12
13 constructor(filename: PathLike) {
14 this.#filename = filename
15 this.#writer = new Writer(filename)
16 }
17
18 async read(): Promise<string | null> {
19 let data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected