@nuff-said/jsondb
v1.0.0
Published
A minimal json db
Downloads
1
Readme
@nuff-said/jsondb
A compact disk json database in just 407 bytes
import jsondb from '@nuff-said/time-ago'
const db = jsondb("./data.json");
db.get() // => {}
db.set({foo: "bar"});
db.get() // => {foo: "bar"}
Installation
$ npm i @nuff-said/jsondb
Contributing
All contributions are welcome! Feel free to file an issue, point out an optimization or even push a PR!
License
This project uses the GPL-3.0 license.