1.0.0 • Published 8 years ago
chalkup v1.0.0
chalkup
Markup for the console - convert HTML-like tags to ANSI escape sequences
Usage
const chalkup = require('chalkup')
console.log('<b>test?<b> <green>success</green>')
Available tags
b
orbold
— bold textu
orunderline
— underlined texts
orstrikethrough
—strikethroughtexti
oritalic
— italic textinverse
— inverted text (foreground and background reversed)
Text colors
black
red
green
yellow
blue
magenta
cyan
white
gray
Background colors
bgBlack
bgRed
bgGreen
bgYellow
bgBlue
bgMagenta
bgCyan
bgWhite
1.0.0
8 years ago