UNPKG

westdb

Version:

Sqlite Türünde Yapılmış Database Modülü

48 lines (34 loc) 880 B
![Image](https://img.shields.io/npm/v/westdb?color=%2351F9C0&label=westdb) ![Image](https://img.shields.io/npm/dt/westdb.svg?color=%2351FC0&maxAge=3600) # ![Image](https://nodei.co/npm/westdb.png?downloads=true&downloadRank=true&stars=true) <br> ## Yüklemek İçin ```npm npm install westdb ``` <br> ## Nasıl Kullanılır? 💫 # JS ```js const west = require("westdb"); const db = new west.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(); ```