1.0.0 • Published 9 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
borbold— bold textuorunderline— underlined textsorstrikethrough—strikethroughtextioritalic— italic textinverse— inverted text (foreground and background reversed)
Text colors
blackredgreenyellowbluemagentacyanwhitegray
Background colors
bgBlackbgRedbgGreenbgYellowbgBluebgMagentabgCyanbgWhite
1.0.0
9 years ago