Terminal.js
: The best terminal colorizer.
terminal.js
is able to make the terminal have any color you want! Even custom RGB colors if you're feeling like it!
require("terminalcolors.js");
console.log("hello".green());
const color = require("terminalcolors.js");
console.log(color.bold("hello".blue()));
IMPORTANT If you are using an older version of node, the "string".blue()
syntax might work. If so, try the following instead:
const color = require("terminalcolors.js");
console.log(color.blue("string"))'
{
full: {
...basic,
font: fonts,
reset,
...foreground,
background,
highIntensity: {
...foreground_high_intensity,
background: background_high_intensity
}
}
}