repo: move api src from root to own subdir

This commit is contained in:
wukko
2024-08-02 20:41:52 +06:00
parent 7f12f4c2d3
commit a7087336ca
169 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
function t(color, tt) {
return color + tt + "\x1b[0m"
}
export function Bright(tt) {
return t("\x1b[1m", tt)
}
export function Red(tt) {
return t("\x1b[31m", tt)
}
export function Green(tt) {
return t("\x1b[32m", tt)
}
export function Cyan(tt) {
return t("\x1b[36m", tt)
}