ShiftDB: The most powerful database
Introduction
ShiftDB is a simple, fast, powerful, CLI based ,JSON based database, helps developers to develop apps.
Created by ZDev1
Getting Started
And now, fork the repo/repl and add this to your JavaScript file:
First:
$ npm install
I am thinking of buying an NPM package...
const Shift = require('./shift');
const database = new Shift();
Documentation
1. Get all the keys
To get all the keys that they're in the database, just type:
database.getAll();
2. Get a key
To get one key and it's value, just type:
database.get('key');
3. Make a key
To set a key (or to create a key as well), just type:
database.set('key', 'value');
4. Delete a key
To delete a key from the database, just type:
database.del('key');
CLI Documentation
As I said before, I made a CLI for the database.
Make sure to open your terminal :)
Help:
shiftdb help
1. Get all the keys
To get all the keys, type in the terminal:
$ shiftdb getall
2. Get a key
To get a key and it's value, type in the terminal:
$ shiftdb get
Key: key
3. Make a key
To make or set a key in the database, type in the termina;:
$ shiftdb set
Key: key
Value: value
4. Delete a key
To delete a key from the database, type in the terminal:
$ shiftdb del
Key: key
If all of those aren't working, try this:
$ node . your_command
Top comments (2)
Nice!
Thanks!