A simple JSON database with ease use, You can use this database for your small games based on nodejs or you can use this database for other usage.
The write and read speed is depending on the device you use, this module using fs to write and read data on JSON.
Im not upload this module to npm because idk how to upload it lol, then im using npm i github:user??/repo??
to install this module from github.
npm i github:ZTRdiamond/zanixon.db
const zn = require("zanixon.db");
zn.storageInit({
"dir":"./data/main"
})
zn.storage();
Now you can use this module to save and get your data from local database, this module must have write and read permission in device that running the module.
I'm not recommend this module to organizing a bigger data because your data can corrupted and lost, this database i make to help me creating text-based game on whatsapp that running on my whatsapp bot.
I will make the documentation later, for now I have not made the docs in detail and in this version 2.0.0
update there are quite a lot of changes so the previous docs are not relevant in my opinion, please check the code for each parameter and its use. thank you.