nowdev
v1.0.7
Published
Now Dev is an half open-source package meant to store datas and access datas full security.
Downloads
349
Maintainers
Readme
Support: discord.gg/nowdev NPM: npmjs.com/nowdev Website: www.nowdev.com.tr
Now Dev is an half open-source package meant to store datas and access datas full security.
Example Usage
const { License } = require("nowdev");
const db = new License("YOUR_LICENSE_KEY"); // VISIT TO GET LICENSE KEY https://nowdev.com.tr
async function setData() {
await db.set("color", "red", "data"); // Name: color | Value: red | Table: data
}
async function getData() {
await db.get("color", "data"); // Name: color | Table: data
// -> red
}
setData();
// use delay because data is saved very late in sql code
getData();
Note: Example delay command:
const delay = ms => new Promise(resolve => setTimeout(resolve, ms))
example usageawait delay(5000); //ms