@guidb/scriptdb

0.0.0 • Public • Published

Buy Me A Coffee


Content-Library

  • 📰 0% Ads
  • 💸 0% Tracker
  • 📃 0% Logging

Docs

  1. Full sample
const lib = require("@guidb/scriptdb")
const scriptdb = new lib.memori("./script.json")
var key = "your_key"
var data = "your data"
scriptdb.setValue(key, data)
console.log(`success set key ${key} and Data ${data}`)
var getvalue = scriptdb.getValue(key)
console.log(`check key ${key} result ${getvalue}`)
var dlt = scriptdb.delete(key)
if (dlt) {
    console.log(`berhasil menghapus key ${key}`)
} else {
    console.log("data tidak berhasil di haus kemungkinan belum ada")
}
var getValues = scriptdb.getValues()
console.log(getValues)

/@guidb/scriptdb/

    Package Sidebar

    Install

    npm i @guidb/scriptdb

    Weekly Downloads

    1

    Version

    0.0.0

    License

    ISC

    Unpacked Size

    8.98 kB

    Total Files

    5

    Last publish

    Collaborators

    • azkadev