pegasus.db
v0.0.2
Published
Fast and simple database
Downloads
12
Maintainers
Readme
✨ Pegasus DB
Features
- 🔋 Backup system
- 🔌 Simple And Easy To Get Started
- 🚀 Super-powerful
- 🕸️ User Friendly
📌 Installation
npm i pegasus.db
🔋 Examples
const Database = require('pegasus.db')
const db = new Database.Client();
db.get('key') // fetch something from the db
db.fetch('key') //fetch something from the db
db.set('key', 'nothing') // set something in the db
db.add('key', 1) //add something to the db
db.substract('key', 1) //substract something from db
db.push('key', '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.deleteKey('key') //you can also use a key