cloudy-db

2.6.1Β β€’Β PublicΒ β€’Β Published

Welcome to cloudy-db πŸ‘‹

Version Prerequisite Prerequisite Documentation Maintenance License: MIT

Very easy and lightweight quick to use db, which is weekly updated!

🏠 Homepage

Prerequisites

  • npm >=5.5.0
  • node >=14.0.0

Install

npm i cloudy-db

Example

const cloudy = require('cloudy-db');
const db = new cloudy({
path: 'db-bot'
})

// Example

db.set("cloudy-db", "easiest and fastest db!")
console.log(db.get("cloudy-db"))

// Coded by ThatRemixiak and falseCloud

DB Operations

*Note: db stands for how you defined cloudy-db You can define it however you like!
*Note: new docs will be available soon!

Set value

db.set("mydb","welcome to my db!")

Delete value

db.del("mydb")

Has value?

db.has("mydb")

DB Math operations

Subctraction

db.subtract("mydb_subtract", "70")

Add

db.add("mydb_subtract", "420")

DB Backup

Save backup

db.backup("save")

Read backup

db.backup("read")

DB Extraction

Extract all values from DB without SHA256 Encrypting:

db.extract("<filname>", "false")

Extract all values from DB with permament hashing:

db.extract("<filname>", "true")

Author

πŸ‘€ Jakub Kun & Remixiak

🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2021 Cloudy-DB.
This project is MIT licensed.

Readme

Keywords

Package Sidebar

Install

npm i cloudy-db

Weekly Downloads

2

Version

2.6.1

License

MIT

Unpacked Size

8.72 kB

Total Files

4

Last publish

Collaborators

  • remixiak
  • cloud3_