metus.db

0.0.4 • Public • Published

Metus Database

Kullanım

const { JsonDatabase } = require("metus.db");
const db = new JsonDatabase({ path: "./data.json" }); // Dosya yolunuz.

db.set("hello", 'hi'); // hi
db.get("hello"); // hi
db.has("hello"); // true
db.add("number", 100); // +100
db.subtract("number", 100); // -100
db.deleteEach("@gmail.com"); // true
db.delete("hello"); // true
db.deleteAll(); // true

Readme

Keywords

none

Package Sidebar

Install

npm i metus.db

Weekly Downloads

1

Version

0.0.4

License

LGPL-3.0-only

Unpacked Size

38.9 kB

Total Files

4

Last publish

Collaborators

  • sslenzycode