burgerdatabase

0.1.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i burgerdatabase

Weekly Downloads

4

Version

0.1.3

License

0BSD

Unpacked Size

2.86 kB

Total Files

6

Last publish

Collaborators

  • swagcat