code: function (color, func) {
    exports[color] = function(str) {
      return func.apply(str);
    };
    String.prototype.__defineGetter__(color, func);
  }
docs: prototypes the string object to have additional method calls that add terminal colors