0.0.1 • Published 5 years ago
netherydb
Licence
MIT
Version
0.0.1
Deps
2
Size
3 kB
Vulns
3
Weekly
0
netheryDB - A very easy-to-use database!
netheryDB it is a very easy-to-use database that uses json data, so you can easily edit the file at any time!
Example
const {Database} = require("netherydb");
const data = new Database("databaseName.ndb");
/* Setting a value */
data.set("account.description", "cool"); // "cool"
data.set("account.number", 1); // 1
/* Getting a value*/
data.get("account.name"); // name: "easy database"
/* Check if data exists */
data.has("account.exists"); // true
data.has("account.exists.ssssss"); // false
/* Add data */
data.add("account.number", 1); // 2
/* Deleting a value */
data.delete("account");
/* Destroy database */
data.destroy();
netheryDB uses the code of the bookman module, but our module will be updated very often and added functions will be added! (Some functions have been removed)