Methods
colorfy(message, coloropt, defaultColoropt) → {string}
- Description:
- Wrap the specified message with color codes.
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
string | The message | |
color |
string |
<optional> |
The color |
defaultColor |
string |
<optional> |
default color to be use if the specified color is nnot aplicable. |
Returns:
The message sourounded with color codes.
- Type
- string