Download lib/lowdb/adapters/JSONFile.d.ts from RamaZyx/StableBOT: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/RamaZyx/StableBOT/resolve/main/lib/lowdb/adapters/JSONFile.d.ts
- Command line
-
hf download hf://RamaZyx/StableBOT/lib/lowdb/adapters/JSONFile.d.ts
-
curl -L -o JSONFile.d.ts https://huggingface.co/RamaZyx/StableBOT/resolve/main/lib/lowdb/adapters/JSONFile.d.ts
217 Bytes
| import { Adapter } from '../Low.js'; | |
| export declare class JSONFile<T> implements Adapter<T> { | |
| private adapter; | |
| constructor(filename: string); | |
| read(): Promise<T | null>; | |
| write(obj: T): Promise<void>; | |
| } | |