arius.db
v0.4.0-bighunt
Published
Türkçe JSON formatlı veri tabanı modülü
Downloads
16
Readme
arius.db
Arius.db JSON formatlı Türkçe bir veri tabanı modülüdür.
İndirme
npm i arius.db
Usage
const db = require("arius.db")
db.set("elma","kırmızı")//Elma adlı veriyi kırmızı diye kaydeder.
db.delete("elma")//Elma adlı veriyi siler.
db.fetch("elma")//Elma adlı veriyi çeker.
db.has("elma")//Elma adlı veri var mı diye kontrol eder. Varsa true, yoksa false değer atar.
db.add("sayı",80)//Sayı adlı veriye 80 ekler.
db.subtract("elma",20)//Sayı adlı veriye 80 çıkarır.
db.push("elma", {elma: "a",muz: "b"})//Array veri kaydeder.