1.0.1 • Published 2 years ago
ansi-colors-tk v1.0.1
ANSI-COLORS
Made for coloring texts in the terminal.
References
Installation
npm install ansi-colors-tk
Examples
import ANSI_COLORS from 'ansi-colors-tk';
console.log(ANSI_COLORS.TEXT.BLUE + "I'm blue!", ANSI_COLORS.RESET);
import ANSI_COLORS from 'ansi-colors-tk';
const Random = ANSI_COLORS.Random();
console.log(Random.color + `I'm ${Random.name}!`, ANSI_COLORS.RESET);
import ANSI_COLORS from 'ansi-colors-tk';
const Array = ANSI_COLORS.Order();
for(const Index in Array) {
console.log(Array[Index].color + `I'm ${Array[Index].name}!`, ANSI_COLORS.RESET);
};