2.0.1 • Published 3 years ago
clcn v2.0.1
Clcn - colored console
Description
Paint your console
Example
CommonJS
const clcn = require("clcn");
console.log(clcn.txtRed("Uwu, this text is red"));ES Module
import clcn from "clcn";
console.log(clcn.textRed("Uwu, this text is red"));Functions
Colors
- Black
- Text color
txtBlack(string) - Background color
bgBlack(string)
- Text color
- Red
- Text color
txtRed(string) - Background color
bgRed(string)
- Text color
- Green
- Text color
txtGreen(string) - Background color
bgGreen(string)
- Text color
- Yellow
- Text color
txtYellow(string) - Background color
bgYellow(string)
- Text color
- Blue
- Text color
txtBlue(string) - Background color
bgBlue(string)
- Text color
- Magenta
- Text color
txtMagenta(string) - Background color
bgMagenta(string)
- Text color
- Cyan
- Text color
txtCyan(string) - Background color
bgCyan(string)
- Text color
- White
- Text color
txtWhite(string) - Background color
bgWhite(string)
- Text color
Rainbow Colors
- Rainbow
- Text color
rainbowText(string) - Background color
rainbowBackground(string)
- Text color