lib/writers/ConsoleWriter.js
function (options) {
    options = options || {}
    this.isTTY = process.stdout.isTTY || false
    this.useColors = options.useColors || this.isTTY
}
function (options) {
    options = options || {}
    this.isTTY = process.stdout.isTTY || false
    this.useColors = options.useColors || this.isTTY
}
function ( options ) { options = options || { } this . isTTY = process . stdout . isTTY || false this . useColors = options . useColors || this . isTTY }
Handles writing output to stdout

@param {Object} options An object containing options pertaining to this writer
@param {Boolean} [options.useColors] Whether or not to use colors
default attempts to figure out if the tty supports colors

@constructor
Handles writing output to stdout