0.3.5 • Published 1 year ago

bdb.js v0.3.5

Weekly downloads
23
License
MIT
Repository
github
Last release
1 year ago

Better DB

> npm i bdb.js

What is it

A very simple JSON DataBase loader, which autosaves your data every 5 seconds.

How to use

const bdb = require("bdb.js");
const db = bdb.load("data/config.json", 1); // file, autosave

if(!db.test)
    db.test = {};

Docs

BDB #exported :
    load (<file path>, [1 / true / 0 / false]) -> DataBase
DataBase:
    save () -> null
    autosave <- [1 / 0]
    path <- file path
    <everything else> <- your own values
0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.0-a

2 years ago

0.3.2-a

2 years ago

0.3.0-c

2 years ago

0.3.1-a

2 years ago

0.3.0-b

2 years ago

0.3.2-c

2 years ago

0.3.2-b

2 years ago

0.3.0-d

2 years ago

0.2.2-a

2 years ago

0.2.1-b

2 years ago

0.2.1-a

2 years ago

0.2.0-a

2 years ago

0.1.5

4 years ago

0.1.4-a

4 years ago

0.1.4-c

4 years ago

0.1.4-b

4 years ago

0.1.4

4 years ago

0.1.4-d

4 years ago

0.1.3-b

4 years ago

0.1.3-a

4 years ago

0.1.2-d

4 years ago

0.1.2-c

4 years ago

0.1.2-b

4 years ago

0.1.2-a

4 years ago

0.1.2

4 years ago

0.1.1-a

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago