build/compare-size.js
function(delta) {
    var color = "green";

    if (delta > 0) {
      delta = "+" + delta;
      color = "red";
    } else if (!delta) {
      delta = delta === 0 ? "=" : "?";
      color = "grey";
    }

    return chalk[color](delta);
  }
function(delta) {
    var color = "green";

    if (delta > 0) {
      delta = "+" + delta;
      color = "red";
    } else if (!delta) {
      delta = delta === 0 ? "=" : "?";
      color = "grey";
    }

    return chalk[color](delta);
  }
function ( delta ) { var color = "green" ; if ( delta > 0 ) { delta = "+" + delta ; color = "red" ; } else if ( ! delta ) { delta = delta === 0 ? "=" : "?" ; color = "grey" ; } return chalk [ color ] ( delta ) ; }
Color-coded size difference
Color - coded size difference