@xevaltan/freejson
v0.1.0
Published
new nodejs filesystem
Downloads
5
Readme
FREEJSON - NEW NODEJS JSON FILESYSTEM
Install
npm i --save @xevaltan/freejson
Import
const freejson = require("@xevaltan/freejson");
Start
const freejson = require("@xevaltan/freejson");
const myDb = freejson(`${__dirname}/myDatabase.json`);
// add a key with the value.
myDb()["userID"] = {
coins: 563,
xp: 561,
lvl: 3,
linkedMCaccount: "Qwerty123",
};
// YOU DON'T HAVE TO SAVE MANUALLY, IT SAVES AUTOMATICALLY, YESSS!!.
// Get key
console.log(mydb().key1.key2);
Why should I use this plugin?
You should use this plugin if you need a fast json file manager
Creator:
- Xevaltan