Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 220 Bytes
CODES =
off: 0
red: 31
green: 32
yellow: 33
ansi = module.exports = (message, color = 'green') ->
str = ''
str += "\u001b[" + CODES[color] + 'm'
str += message
str += "\u001b[" + CODES['off'] + 'm'
str
Something went wrong with that request. Please try again.