jwarkentin/node-monkey — pull request #9 by johnnycrab (2013-06-02 00:04:31+00:00)
Title: Console.log styles

Hey,
first of all: very cool and useful module!

I've built a small feature that allows styling the console.log output. The `stylize`-function converts ANSI escape sequences to `%c`-style formatting, which is supported both in Firebug and Chrome, but unfortunately not in Safari.

The example below uses one of the coloring modules like [tinycolor](https://npmjs.org/package/tinycolor).

Example:
```javascript
console.log( 'This is italic blue,'.italic.blue + ' bold'.bold + '. A nice object: '.red + '%o' + '(%s)'.green + 'Substitute (%s)'.underline, {'Foo': 'bar'}, 'foo', 'bar');
```

looks like this in Firebug and Chrome:
![bildschirmfoto 2013-06-02 um 01 37 55](https://f.cloud.github.com/assets/1659320/595637/cf12e756-cb17-11e2-848b-4bf90b06dcba.png)
![bildschirmfoto 2013-06-02 um 01 38 22](https://f.cloud.github.com/assets/1659320/595638/cf599142-cb17-11e2-9944-1cfc87177332.png)

Just take a look at it and let me know what you think!

Cheers,
Johnny