2.1.2 • Published 1 year ago
hus-console v2.1.2
HUS-Console: Another console package
This package extends console by addind text/background colors and other functions.
Change text color syntax:
- console.text"COLOR_HERE"(TEXT)
Change text background color syntax:
- console.background"COLOR_HERE"(TEXT)
Create a Line Like " TITLE MESSAGE ":
- console.logWithTitle(TITLE, MESSAGE)
Create a custom box:
- console.textInBox(MESSAGE HERE, COLOR_HERE)
custom box shows has following:
===========================
= MESSAGE HERE =
===========================
Available text related codes (to be used has color codes) are the following:
- green, red, yellow, blue, magenta, cyan, white, black, underscore, bright, reverse, bold
Available text background codes (to be used has color codes) are the following:
- green, red, yellow, blue, magenta, cyan, white, black