colur
1.0.0
All right, it is not that kool, but it is a stylized logger with colors! I needed a simple stylized colur logger for my test’s and other command console activity. PS. This is a node thang.
colur(<log-string>, <option>)
colur(<log-string>)
return
-> always returns the stylized logger string<log-string>
-> String
<option>
-> Object
<option>.color
-> String
<option>.stringCaps
-> Boolean => true
|>
and <|
start and end caps.<option>.endColor
-> Boolean => true
bgBlue.white.bold
.end
<option>.startColor
-> Boolean => true
bgGreen.white.bold
.<option>.consoleType
-> String
info
.console
part, just include the modifier like error
.<option>.strReturn
-> Boolean => true
console
and just returns the stylized logger string.<option>.error
-> Boolean => true
console
to error
and uses the color of bgRed.white.bold