UNPKG

node-json-db

Version:

Database using JSON file as storage for Node.JS

12 lines (11 loc) 385 B
import { IAdapter } from "../IAdapter"; export declare class JsonAdapter implements IAdapter<any> { private readonly adapter; private readonly humanReadable; private readonly dateRegex; constructor(adapter: IAdapter<string>, humanReadable?: boolean); private replacer; private reviver; readAsync(): Promise<any>; writeAsync(data: any): Promise<void>; }