# satoshi.db

> Hatasız küçük JSON temelli database modülü.

Latest version **1.0.0** (published 2022-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install satoshi.db
pnpm add satoshi.db
yarn add satoshi.db
bun add satoshi.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 | 1.0.0 |
| Published | 2022-08-04 |
| First published | 2022-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yoshito |
| Maintainers | yoshitofx |
| Keywords | database, discord.js, Satoshi.db, json, jsondb, db, Yoshito |

## Links

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

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21

## Recent versions

- 1.0.0 (latest) — 2022-08-04

## README

# Satoshi.db
Küçük, hatasız, okunması ve değiştirilmesi kolay bir database modülüdür. Diğer modüllerde alınan hataların bu modülde çıkmaması üzerine kurulmuştur yani asıl amacı kullanıcıyı memnun etmektir, hız değildir. 

## Yükelemek İçin
```npm
npm install Satoshi.db
```

## Dikkat
Bu modül node.js 12 ve üzeri sürümlerde daha sağlıklı çalışır.

## Güncelleme
- set() fonksiyonundaki glitch giderildi.

# Kullanım
```js
const db = require("Satoshi.db");

// Veri tabanına nesne ayarlama:
db.set("test", "deneme")
db.set("test", { "Ceza": 2, "Sebep": "Deneme"})

// Veri tabanından veri çekme:
db.get("test")
db.fetch("test")

// Veriyi silme:
db.delete("test")

// Veriye sayı ekleme çıkarma: 
// Not: Sadece sayısal verilere ekleme çıkarma yapabilirsiniz.
db.add("test.ceza", 1) // Ekleme
db.subtract("test.ceza", 1) // Çıkarma

// Veri tabanında verinin olup olmadığını kontrol etme:
db.has("test")

// Veri tabanındaki verinin ne türde olduğunu kontrol ettirme:
db.type("test.Sebep")

// Veri tabanına array sıkıştırmak veya geri çıkarmak:
db.push("test.name", ["Satoshi","Yoshito", "Alperen", "Muhammed", "Kubilay"]) // Sıkıştırır
db.pull("test.name", "Satoshi") // Çıkarır

// Veri tabanın hepsini bir değere aktarma:
const Satoshidb = db.all()

// Veri tabanın backupını almak:
// Not: Dosya türünü yazmayınız sadece adını yazmanız yeterli.
db.backup("<Dosya İsmi>")
db.backup("Satoshi")

// Veri tabanındaki tüm veriyi silmek:
db.deleteAll()
```

## İletişim
`Yoshito#1878`
`Satoshi#1878`

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