New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

iutdb

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iutdb

A JSON and SQLİTE database module

  • 1.1.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

NPM NPM NPM

#İnnovations

  • Language option added.

  • Database options added; JSON, SQLİTE

  • Database update news added

  • Bugs from previous versions fixed

  • Examples

const iutdb = require("iutdb")

// Sqlite

const db = new iutdb({
    "dbFile": "data.sqlite", // Database file name
    "dbLang": "EN", // Database lang (EN,TR)
    "dbType": "SQLİTE", // Database options type (SQLİTE, JSON)
    "dbUpdate": "true" // Database update news (true, false)
});

// Json

const db = new iutdb({
    "dbFile": "data.json", // Database file name
    "dbLang": "EN", // Database lang (EN,TR)
    "dbType": "JSON", // Database options type (SQLİTE, JSON)
    "dbUpdate": "true" // Database update news (true, false)
});

// SQLİTE =========>

db.set("x.y.z", "roxza") // roxza
 
db.fetch("x") // {y: {z: "roxza"}}
 
db.add("b", "1") // {y: {z: "2"}}
 
db.has("x") // true
db.delete("x") // true

db.DataAllDelete() // true

// JSON =========>

db.set("x.y.z", "roxza") // roxza
 
db.fetch("x") // {y: {z: "roxza"}}
 

db.add("b", "1") // {y: {z: "2"}}
db.remove("b", "1") // {y: {z: "1"}}
 
db.has("x") // true
db.delete("x") // true

db.DataAll() // {x: {y: {z: "abc"}}}
db.DataAllDelete() // true

Keywords

FAQs

Package last updated on 23 Jul 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc