New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

demirdb

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

demirdb

JSON tabanlı database modülü

unpublished
latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

DemirDB

JSON tabanlı database modülü

Kurulum

> npm i demirdb
const Demirdb = require("demirdb")
const db = new Demirdb({
    "dbName": "test", // Veritabanı dosya adı.
    "dbFolder": "veritabani", // Veritabanı klasörü.
    "noBlankData": true,
    "readable": true,
    "language": "tr" // Dil seçimi. "tr" veya "en" yazabilirsiniz.
})

Örnekler

db.set("x.y.z", "abc") // abc

db.get("x") // {y: {z: "abc"}}
db.all() // {x: {y: {z: "abc"}}}

db.push("a", "merhaba") //  ["merhaba"]
db.push("a", "dünya") //  ["merhaba", "dünya"]
db.unpush("a", "merhaba") // ["dünya"]

db.push("b", {test: "demirdb"}) // [{test: "demirdb"}]
db.push("b", {test2: "demirdb2"}) // [{test: "demirdb"}, {test2: "demirdb2"}]
db.delByPriority("b", 1) // [{test2: "demirdb"}]
db.setByPriority("b", {newtest:"bu veri düzenlendi"} 1) // [{newtest:"bu veri düzenlendi"}]

db.delete("x") // true
db.deleteAll() // true

Keywords

demirdb

FAQs

Package last updated on 04 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts