netherydb
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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)

/netherydb/

    Package Sidebar

    Install

    npm i netherydb

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.13 kB

    Total Files

    4

    Last publish

    Collaborators

    • even.