1.1.1 • Published 6 years ago

coloredtext v1.1.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
6 years ago

Make your console outputs colored!

(yes, I know this has been done a ton of times before, but whatever)

How to use

const clr = require("coloredtext");
console.log(clr.raw.fg.list) // to get a list of the foreground colors available
console.log(clr.raw.bg.list) // to get a list of the background colors available
console.log(clr.blink(clr.bg.green(clr.white("Hello, world!")))); // prints the blinking string "Hello, world!" with white text and green background.
console.log(clr.bg.white(clr.blue("Hello, world!"))) // prints the string "Hello, world!" with blue text and white background.

There is also support for underline and bold.

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago