0.1.3 • Published 2 years ago

burgerdatabase v0.1.3

Weekly downloads
-
License
0BSD
Repository
-
Last release
2 years ago

What is this?

Burger Database is a next-gen cough cough JSON database.

How do i use this?

const Db = require('burgerdatabase');
const db = new Db({ path: './file.json' });

Methods: sync (no arguments, for internal use) set (a: string name, b: string || number || object value) get (a: string name) all (no arguments, returns this.data object) returnAll (no arguments, returns stringified this.data object) add (a: string value, if not a number sets to 0, b: number value to add)

Constructor options: noGzip: boolean (default true) path: string (no default, if empty may cause damage)

This project is licensed under 0BSD licence

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago