UNPKG

helene

Version:
10 lines (9 loc) 373 B
import { IStorage } from '../types'; export declare class NodeStorage implements IStorage { read(name: string): Promise<string>; /** * Fully write or rewrite the datafile, immune to crashes during the write operation (data will not be lost) */ write(name: string, data: string): Promise<void>; append(name: string, data: string): Promise<void>; }