# cloudy-db

> Welcome to cloudy-db 👋

Latest version **2.6.1** (published 2022-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install cloudy-db
pnpm add cloudy-db
yarn add cloudy-db
bun add cloudy-db
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.6.1 |
| Published | 2022-10-23 |
| First published | 2021-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | cloud3 |
| Maintainers | remixiak, cloud3_ |
| Keywords | cloudy-db |

## Links

- npm: https://www.npmjs.com/package/cloudy-db
- Repository: https://github.com/falseCloud/cloudy-db
- Homepage: https://github.com/falseCloud/cloudy-db#readme
- Issues: https://github.com/falseCloud/cloudy-db/issues
- npm.io page: https://npm.io/package/cloudy-db

## Dependencies (4)

- [fs](https://npm.io/package/fs.md) ^0.0.1-security
- [cloudy-db](https://npm.io/package/cloudy-db.md) ^1.4.2
- [js-sha256](https://npm.io/package/js-sha256.md) ^0.9.0
- [simple-json-db](https://npm.io/package/simple-json-db.md) ^1.2.3

## Recent versions

- 2.6.1 (latest) — 2022-10-23
- 2.6.0 — 2022-07-01
- 2.5.2 — 2021-07-06
- 2.5.4 — 2021-07-05
- 2.5.1 — 2021-07-05
- 2.5.0 — 2021-07-05
- 2.2.3-a — 2021-07-05
- 2.0.1 — 2021-07-05
- 2.0.1-ralpha — 2021-07-05
- 2.0.0-ra — 2021-07-05
- 2.0.0-r — 2021-07-05
- 2.0.0 — 2021-07-05
- 1.4.3-r — 2021-07-05
- 1.4.2 — 2021-07-05
- 1.1.0 — 2021-07-05
- … 4 more at https://npm.io/package/cloudy-db/versions

## README

<h1 align="center">Welcome to cloudy-db 👋</h1>

[![Version](https://img.shields.io/npm/v/cloudy-db.svg)](https://www.npmjs.com/package/cloudy-db)
![Prerequisite](https://img.shields.io/badge/npm-%3E%3D5.5.0-blue.svg)
![Prerequisite](https://img.shields.io/badge/node-%3E%3D14.0.0-blue.svg)
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://cloud3.site/)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://cloud3.site/)
[![License: MIT](https://img.shields.io/github/license/falseCloud/cloudy-db)](https://img.shields.io/github/license/falseCloud/cloudy-db)

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


### 🏠 [Homepage](https://github.com/falseCloud/cloudy-db)

## Prerequisites

- npm >=5.5.0
- node >=14.0.0

## Install

```sh
npm i cloudy-db
```

## Example
```js
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

<h6>*Note: db stands for how you defined cloudy-db 
You can define it however you like!</h6>

<h6>*Note: new docs will be available soon!</h6>

Set value
```js
db.set("mydb","welcome to my db!")
```
Delete value
```js
db.del("mydb")
```
Has value?
```js
db.has("mydb")
```
## DB Math operations
Subctraction
```js
db.subtract("mydb_subtract", "70")
```
Add
```js
db.add("mydb_subtract", "420")
```
## DB Backup
Save backup
```js
db.backup("save")
```
Read backup
```js 
db.backup("read")
```
## DB Extraction
Extract all values from DB without SHA256 Encrypting:
```js
db.extract("<filname>", "false")
```
Extract all values from DB with permament hashing:
```js
db.extract("<filname>", "true")
```

## Author

👤 **Jakub Kun & Remixiak**

* Website: cloud3.site | remixiak.xyz
* Github: [@falseCloud](https://github.com/falseCloud) | [@ThatRemixiak](https://github.com/ThatRemixiak)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/falseCloud/cloudy-db/issues).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2021 [Cloudy-DB](https://github.com/falseCloud/cloudy-db/).<br />
This project is [MIT](https://cloud3.site/) licensed.

---
_Source: https://npm.io/package/cloudy-db · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
