// Generated by CoffeeScript 1.8.0
(function() {
  var __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

  module.exports = function(res, options, fmtOpts) {
    return JSON.stringify(res, null, (__indexOf.call(fmtOpts, 'no-indent') >= 0 ? 0 : 2));
  };

}).call(this);
