chalk-advanced
v1.0.7
Published
Chalk-advanced is a library that allows you to add color to the output of your console.
Downloads
87
Readme
chalk-advanced
Chalk-advanced is a library that allows you to color your console output. This tool is used by projects like Would You Bot.
Quick Links
Installation
Install chalk-advanced with npm
npm install chalk-advanced
Install chalk-advanced with yarn
yarn add chalk-advanced
Code Examples
const { ChalkAdvanced } = require('chalk-advanced');
console.log(ChalkAdvanced.red('Hello World!'));
const { red } = require('chalk-advanced');
console.log(red('Hello World!'));
const { rgb } = require('chalk-advanced');
console.log(rgb(250, 30, 107, "Hello World!"));
Colors
black(text)
:red(text)
:green(text)
:yellow(text)
:blue(text)
:magenta(text)
:cyan(text)
:white(text)
:gray(text)
:redBright(text)
:greenBright(text)
:yellowBright(text)
:blueBright(text)
:magentaBright(text)
:cyanBright(text)
:whiteBright(text)
:bgBlack(text)
:bgRed(text)
:bgGreen(text)
:bgYellow(text)
:bgBlue(text)
:bgMagenta(text)
:bgCyan(text)
:bgWhite(text)
:bgRedBright(text)
:bgGreenBright(text)
:bgYellowBright(text)
:bgBlueBright(text)
:bgMagentaBright(text)
:bgCyanBright(text)
:bgWhiteBright(text)
:bold(text)
:dim(text)
:italic(text)
:underline(text)
:inverse(text)
:hide(text)
:strikethrough(text)
:hex(code, text)
:hsl(h, s, l, text)
:rgb(r, g, b, text)
: