@arijitthedev/utils
v1.2.1
Published
A utility package for Developers which will help them in ease of development.
Downloads
12
Maintainers
Readme
Utils
A simple, lightweight package made for Discord.js Devs for ease of Development.
Features
- Written in Plain JS
- Offers CJS for easy development
- Simple and Easy to Use
- Lightweight
Installation
@arijitthedev/utils
depends on Node JS. Make sure to install latest version of Node JS before installing this package. After that, run the following command:
npm install @arijitthedev/utils
Uses
Here are some basic examples of the methods available:
Logger Class:
const { Logger } = require("@arijitthedev/utils")
const logger = new Logger()
logger.info("Info Message")
logger.success("Success Message")
logger.warn("Warn Message")
logger.error("Error Message")
Banner Class:
const { Banner } = require("@arijitthedev/utils")
const banner = new Banner()
banner.create("N A M E")
loadFiles Function:
const { loadFiles } = require("@arijitthedev/utils")
const Files = await loadFiles("DirName")
Crash Handler:
const { handleCrashes } = require("@arijitthedev/utils")
handleCrashes()
Developed by:
Arijit Debnath
- https://arijitdn.com