payidar.db
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    Image Image

    Image

    Yüklemek İçin

    npm install payidar.db
    

    Nasıl Kullanılır? 💫

    JS

    const Payidar = require("payidar.db");
    const db = new Payidar.Database();
    
    // Set data
    db.set("Hello", "World");
    
    // Get data
    db.get("Hello"); // World
    db.fetch("Hello"); // World
    
    // Delete data
    db.delete("Hello");
    
    db.get("Hello"); // undefined
    db.has("Hello"); // false
    
    db.set("age", 10);
    db.add("age", 1); // 11
    db.subtract("age", 9); // 2
    
    db.set("array", [ "apple" ]);
    db.push("array", "orange"); // [ "apple", "orange" ]
    
    // Clear data
    db.deleteAll();
    
    // Get all the data
    db.all();

    Install

    npm i payidar.db

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    6

    Last publish

    Collaborators

    • mert..1010
    • payidar