aditya.utils
v6.0.2
Published
A package to help you with nodejs.
Downloads
8
Readme
aditya.utils
npm i aditya.utils
yarn add aditya.utils
Colorful Console
const a = require('aditya.utils')
a.logblue("TEXT") // Blue Text
a.logred("TEXT") // Red Text
a.loggreen("TEXT") // Green Text
a.logyellow("TEXT") // Yellow Text
a.logcyan("TEXT") // Cyan text
Package Version
const a = require("aditya.utils")
a.packageVersion("Package Name") // Returns installed package version.
a.version() // returns aditya.utils version
Calculation
const a = require('aditya.utils')
a.add(1, 2) // Result - 3
a.subtract(2, 1) // Result - 1
a.multiply(2, 2) // Result - 4
a.divide(4, 2) // Result - 2
Milliseconds Conversation
const a = require('aditya.utils')
a.parsems(58837838) // Output 16h 20m 37.8s
Maintainer