iutdb

2.1.1 • Public • Published

You can reach the renewed and improved version of the module by clicking here.

With this version, this module will not be updated again.

Examples

const iutdb = require("iutdb");

const db = new iutdb({
   dbFile: "data", // Database file name
   dbLang: "EN", // Database lang (en,tr)
   dbType: "json" // Database options type (sqlite, json)
});

db.set("x.y.z", "roxza"); // roxza

db.fetch("x"); // {y: {z: "roxza"}}

db.add("b", 8); // {b: "8"}

db.subtract("b", 4); // {b: "4"}

db.has("x"); // true

db.delete("x"); // true

db.dataAll(); // {}

db.DataAllDelete(); // true

Dependents (0)

Package Sidebar

Install

npm i iutdb

Weekly Downloads

3

Version

2.1.1

License

MIT

Unpacked Size

18.1 kB

Total Files

9

Last publish

Collaborators

  • xchairs
  • roxza