4.0.3 β’ Published 5 years ago
@tatsumaki/fusion.db v4.0.3
β¨ Fusion DB
Features
- π Backup system
- π Simple And Easy To Get Started
- π Super-powerful
- πΈοΈ User Friendly
π Installation
npm i @tatsumaki/fusion.db
π Examples
- Store db in json file
const Database = require('@tatsumaki/fusion.db')
const db = new db.Client();
db.get('fusion') // fetch something from the db
db.fetch('fusion') //fetch something from the db
db.set('fusion', 'nothing') // set something in the db
db.add('fusion', 1) //add something to the db
db.substract('fusion', 1) //substract something from db
db.push('fusion', 'value to push'); // Pushing a value to the db
db.all(); // Fetches everything in the database
db.createBackup(); //create backup
db.loadBackup(); //load backup
db.delete('fusion') //you can also use a key