index.js
function tableize(tableData) {
    var table = new Table({
        head: Object.keys(tableData[0]),
        chars: {'mid': '', 'left-mid': '', 'mid-mid': '', 'right-mid': ''},
        style: { 'padding-left': 0, 'padding-right': 0 }
    });

    _.each(tableData, function(row, index) {
        table.push(_.values(row));
    });
    return table;
}
function tableize(tableData) {
    var table = new Table({
        head: Object.keys(tableData[0]),
        chars: {'mid': '', 'left-mid': '', 'mid-mid': '', 'right-mid': ''},
        style: { 'padding-left': 0, 'padding-right': 0 }
    });

    _.each(tableData, function(row, index) {
        table.push(_.values(row));
    });
    return table;
}
function tableize ( tableData ) { var table = new Table ( { head : Object . keys ( tableData [ 0 ] ) , chars : { 'mid' : '' , 'left-mid' : '' , 'mid-mid' : '' , 'right-mid' : '' } , style : { 'padding-left' : 0 , 'padding-right' : 0 } } ) ; _ . each ( tableData , function ( row , index ) { table . push ( _ . values ( row ) ) ; } ) ; return table ; }
returns a table object
returns a table object