Const
Bold color or style
// ANSI Themebold("text") // => "\x1b[1mtext\x1b[22m" (includes reset to normal intensity)`${bold}text` // => "\x1b[1mtext" (no reset included)bold + "text" // => "\x1b[1mtext" (no reset included)bold.concat("text") // => "\x1b[1mtext" (no reset included) Copy
// ANSI Themebold("text") // => "\x1b[1mtext\x1b[22m" (includes reset to normal intensity)`${bold}text` // => "\x1b[1mtext" (no reset included)bold + "text" // => "\x1b[1mtext" (no reset included)bold.concat("text") // => "\x1b[1mtext" (no reset included)
Bold color or style