Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/typicode/lowdb
/ write
Method
write
src/adapters/node/DataFile.ts:35–37 ·
view source on GitHub ↗
(obj: T)
Source
from the content-addressed store, hash-verified
33
}
34
35
write(obj: T): Promise<void> {
36
return
this.#adapter.write(this.#stringify(obj))
37
}
38
}
39
40
export
class
DataFileSync<T> implements SyncAdapter<T> {
Callers
1
write
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected