-
Notifications
You must be signed in to change notification settings - Fork 9
DemonTools
Damian Monogue edited this page Feb 22, 2021
·
4 revisions
This is a place for items which don't really fit in anywhere or I don't feel like there's enough to make its own module.
That being said there are definitely a few categories things call into.
These could almost be their own module at this point, but I'm loathe to pull them out. There are functions for converting the formats for cecho, decho, etc from one to another. For example, ansi2cecho takes ansi text and formats it for cecho. Along the same lines there are:
- cecho2decho
- hecho2html
- etc
-
append2decho
- takes whatever you have copy()ed and returns it as decho.
-
displayColors
- like showColors but in my opinion better
-
string2color
- takes a string and generates a color based on it. Will return the same color every time for the same string.
- and many more.
- milliToHuman
-
isWindows
- Are you running on windows OS? Pretty much what it says on the tin.
-
scientific_round
- nerd
- and more
The API Docs contain examples for most of the individual functions, and a complete list of what is available.