lib/formatter/formatter.js
function transformHashArrayData(stream, item) {
    var vals = [], row = [], i = -1, headersLength = stream.headersLength;
    if (stream.totalCount++) {
        row.push(stream.rowDelimiter);
    }
    while (++i < headersLength) {
        vals[i] = item[i][1];
    }
    row.push(stream.formatter(vals));
    return row.join("");
}
function transformHashArrayData(stream, item) {
    var vals = [], row = [], i = -1, headersLength = stream.headersLength;
    if (stream.totalCount++) {
        row.push(stream.rowDelimiter);
    }
    while (++i < headersLength) {
        vals[i] = item[i][1];
    }
    row.push(stream.formatter(vals));
    return row.join("");
}
function transformHashArrayData ( stream , item ) { var vals = [ ] , row = [ ] , i = - 1 , headersLength = stream . headersLength ; if ( stream . totalCount ++ ) { row . push ( stream . rowDelimiter ) ; } while ( ++ i < headersLength ) { vals [ i ] = item [ i ] [ 1 ] ; } row . push ( stream . formatter ( vals ) ) ; return row . join ( "" ) ; }
transform an array of two item arrays into a CSV row
transform an array of two item arrays into a CSV row