Easily use colored output and formatting in your irc bots.
var c = ;...ircbot; // prints blue textircbot; // can be chainedircbot; // white text with black backgroundwarn = cboldredbgyellow;ircbot; // bold red text with yellow backgroundircbot
If you don't mind changing the prototype of the String object, then use the global() function.
global...ircbot; // prints red textircbot; // prints green bold textircbot // chains work too
Global syntax was inspired by colors.js and because of that, there's possibility that you might want to use that module along with this one. That's why the irc property of a String needs to be called first to use the formatting functions.
Original name or alternate can be used, without spaces
You can also strip out any colors/style from IRC messages.
var c = ;ircbot;
npm install irc-colors
Tests are written with vows