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"}
$ npm i @nuff-said/jsondb
All contributions are welcome! Feel free to file an issue, point out an optimization or even push a PR!
This project uses the GPL-3.0 license.