🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

reddbv6.5

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reddbv6.5

RedDb release V6.5 - Fix 6.5.3: Onready fires more accurate now,

latest
npmnpm
Version
6.5.3
Version published
Maintainers
1
Created
Source

RedDbV6.5

RedDb V6.5 Faster and Efficienter.

Installation:

npm install reddbv6.5

Usage:

const RedDb = require("reddbv6.5")

RedDb.OnReady(() => { // Required to do this before using the database, else it will error when trying to get items out of the db RedDb.CreateDb("database1", (successfull) => { // successfull = true or false depending on if the database already exists var database1 = RedDb.databases["database1"] // get the database

database1.examplekey = "examplevalue" // setting a value, can be anything. The key must be a string.

console.log(database1.examplekey) //  get the value of a set key, returns undefined if not set

})

RedDb.DeleteDb("database2", (successfull) => { // it does what it says

})

})

Keywords

reddb

FAQs

Package last updated on 20 Apr 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