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