1.0.18 • Published 7 years ago
console_color v1.0.18
Description
A simple Node.js module for colorizing console output.
Usage
require("console_color")
console.log("hello world".black)
console.log("hello world".red)
console.log("hello world".green)
console.log("hello world".yellow)
console.log("hello world".blue)
console.log("hello world".purple)
console.log("hello world".white)
console.log("hello world".lightblue)
or background colors
console.log("hello world".bg.black)
console.log("hello world".bg.red)
console.log("hello world".bg.green)
console.log("hello world".bg.yellow)
console.log("hello world".bg.blue)
console.log("hello world".bg.white)
console.log("hello world".bg.purple)
console.log("hello world".bg.lightblue)
or background colors with font colors
console.log("hello world".bg.yellow.black)
console.log("hello world".bg.red.blue)
console.log("hello world".red.bg.blue)
....