# kubitdb

> English and Turkish database! KubitDB

Latest version **1.5.5** (published 2025-06-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install kubitdb
pnpm add kubitdb
yarn add kubitdb
bun add kubitdb
```

## Health

**Score 35/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.5.5 |
| Published | 2025-06-14 |
| First published | 2021-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | @kubilaytr |
| Maintainers | kubilaytr |
| Keywords | db, kubit.db, kubit-db, database, kubitdb, kubit, jsondata, json, jsondb, databases, fs, türkçe database, tr database, tr db, en db, NoSql, NoSQL database |

## Links

- npm: https://www.npmjs.com/package/kubitdb
- Repository: https://github.com/DeveloperKubilay/kubitdb
- Homepage: https://github.com/DeveloperKubilay/kubitdb#readme
- Issues: https://github.com/DeveloperKubilay/kubitdb/issues
- npm.io page: https://npm.io/package/kubitdb

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.5.5 (latest) — 2025-06-14
- 1.5.4 — 2023-07-08
- 1.5.3 — 2023-07-08
- 1.5.2 — 2023-07-08
- 1.5.1 — 2023-06-21
- 1.5.0 — 2023-02-05
- 1.4.9 — 2022-10-23
- 1.4.8 — 2022-03-29
- 1.4.7 — 2022-03-26
- 1.4.6 — 2021-12-28
- 1.4.5 — 2021-12-17
- 1.4.4 — 2021-12-17
- 1.4.3 — 2021-11-20
- 1.4.2 — 2021-11-09
- 1.4.1 — 2021-11-05
- … 11 more at https://npm.io/package/kubitdb/versions

## README

# KubitDB
## Json based database, Json tabanlı veritabanı
**Help:** [Github](https://github.com/DeveloperKubilay/kubitdb/) 
### Use of,Kullanımı
```js
const kubitdb = require('kubitdb')
const db = new kubitdb("kubitdb")
//You can change the name of the file to save
//You can use const db = new kubitdb("./kubitdb.json") if you want
//kaydeceği dosyanın ismi değiştirebilirsiniz
//İsterseniz const db = new kubitdb("./kubitdb.json") olarak kullanabilirsiniz

db.ayarla('test','evet')
db.set('test','true')
/*/
{
  "test": "evet"
}
/*/

db.ekle("test", 50)
db.add("test", 50)
/*/
{
  "test": 50
}
/*/
db.it("serverSettings", { whitelist: "on", playerCount: "12" })
db.push("serverSettings", { whitelist: "on", playerCount: "12" })
/*/
"serverSettings": [
    {
      "whitelist": "on",
      "playerCount": "12"
    }
  ]
/*/
db.varmı("prefix") 
db.has("prefix") 
/*/
true
false
/*/
db.al("para")
db.bak("para")
db.get("para")
db.fetch("para")
/*/
500
/*/
db.cıkar("para", 400)
db.subtract("para", 400)
db.substr("para", 400)
/*/
100
/*/
db.sil("serverStatus")
db.delete("serverStatus")
db.del("serverStatus")
/*/
{}
/*/
db.sil("serverStatus",1)
db.delete("serverStatus",100)
db.del("serverStatus",100)
/*/
{
  "serverStatus": 9
}
/*/
db.hepsi()
db.hepsinial()
db.all()
db.fetchAll()
db.getAll()
/*/
{
  "money": 500,
  "deneme": "abc"
}
/*/
db.temizle()
db.clear()
db.deleteAll()
db.clearAll()
/*/
{}
/*/

//calculate and does not save math data is like db.al,db.fetch
//hesapla ve math data'ya kaydetmez db.al,db.fetch gibidir
db.math("apple","+",10)
db.hesapla("apple","+",10)
/*/
10
/*/
```
#### To download KubitDB, KubitDB indirmek için
- ```npm i kubitdb```

#### 🐍 [Use the Python Version](https://github.com/DeveloperKubilay/pythonkubitdb)

### For Online Database,To download KubitDBonline
##### Çevrimiçi Veritabanı için, KubitDBonline indirmek için
- ```npm i kubitdbonline```
##### [KubitDB online](https://www.npmjs.com/package/kubitdbonline)

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