UNPKG

evils.db

Version:

![Image](https://img.shields.io/npm/v/evils.db) ![Image](https://img.shields.io/npm/dt/evils.db) ![Image](https://nodei.co/npm/evils.db.png)

16 lines (15 loc) 463 B
import { Database } from "./Database"; import type { BsonDatabaseOptions } from "./Interface"; export declare class BsonDatabase extends Database { private options; private bson; constructor(options: BsonDatabaseOptions); set(key: string, value: any): any; get(key: string): any; getAll(): any; delete(key: string): any; clear(): any; has(key: string): any; get size(): number; get filePath(): string; }