3.0.8 • Published 2 years ago

pro.db v3.0.8

Weekly downloads
-
License
CC BY-NC-ND 4.0
Repository
-
Last release
2 years ago

What is Pro.db ?

  • It is a easy and quick storage unit that relies on objects to store data in JSON format

Installation

  • You need to install the package on your project
npm install pro.db
yarn add pro.db

Example File

encrypt

How To Use

const db = require('pro.db');

db.set('key','value');// to set a data to database.
db.get('key');// to get the data by key.
db.delete('key');// to delete key from database.
db.has('key','value');// return "true" or "false".

db.add('key', 10;);// to add a number to the key.
db.substract('key', 5);// to subtract a number from the key.
db.push('key', 10);// to set a data at the end.
db.math("key","+",5);// to math the numbers.

db.fetch(); // to fetch the data from database. 
db.fetchAll();// to fetchAll data.
db.all();// to get all data in database.

db.backup("Filename");// to make a backup file.
db.reset();// to delete all data and database.

Contact

License

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago