npm.io
1.0.1 • Published 2 years ago

jsonnrdatabase

Licence
ISC
Version
1.0.1
Deps
0
Size
1 kB
Vulns
0
Weekly
0

JSONNRDatabase

A JSON-based non-relational database (?)

JSONNRDatabase is a non-relational database based on JSON (it's in the name), and it is very easy to use.
Just modify the data itself!

It is used like this:

const { Database } = require('jsondatabase');
const db = new Database('./jar.json');

this.data['mouse'] = 'cat';
db.sync();

Yes, it is that easy.

Keywords