kazdev
v1.0.0-latest
Published
User-Friendly Module
Downloads
7
Maintainers
Readme
This Package includes many features and allows you to use it without using extra packages
Database
const { Database } = require("kazdev");
const db = new Database(); // || Path
db.set(key, key2);
db.get(key);
db.has(key);
db.fetch(key);
db.add(key, key2);
db.subtract(key, key2);
db.push("array",{"apple":1,"fish":"not found"});
db.pull("array","element");
db.delete(key);
db.clear(access);
Logger
const { Logger } = require("kazdev");
const logger = new Logger(); // || Path
logger.log();
logger.error();
logger.warn();
Webhook
const { Webhook } = require("kazdev");
const hook = new Webhook(url, username, avatar); // Webhook URL , Username , Avatar Url
hook.send("Hello Guys");
hook.edit("Bye Guys", messageID);
hook.delete(messageID);