plantio.db

1.4.0 • Public • Published

Yüklemek İçin

npm install  plantio.db

Nasıl Kullanılır? || how to use?

Kullanmadan Önce Projenizde "database.json" Adlı Bir Dosya Açmalısınız

Before Using, You Need To Open A File Named "database.json" in Your Project.

JS

const db = require('plantio.db')

// Data set | get
db.set("data1", 1);
db.fetch("data1");
db.get("data1");

// Data exists

db.check("data1");

// Delete data

db.delete("key");

// DB Math methods

db.add("data1", 10);
db.substract("data1", 5);
db.math("data1","+",6)

// Reset DB
db.reset();

//Backing Up the DB
db.backup("myfilename");

//All Database
db.all()

// DB Array method
db.push("array1", 10);

//Other
db.type("data1") // number

Hata Şikayet || Bug Report

Discord

/plantio.db/

    Package Sidebar

    Install

    npm i plantio.db

    Weekly Downloads

    7

    Version

    1.4.0

    License

    Apache-2.0

    Unpacked Size

    13 kB

    Total Files

    3

    Last publish

    Collaborators

    • oqwusab
    • karmabutsad