index.js
function format(input, level, options) {
  if (util.isArray(input)) {
    return array(input, level, options);
  } else if (util.isObject(input)) {
    return object(input, level, options);
  } else {
    return stringify(input, options);
  }
}
function format(input, level, options) {
  if (util.isArray(input)) {
    return array(input, level, options);
  } else if (util.isObject(input)) {
    return object(input, level, options);
  } else {
    return stringify(input, options);
  }
}
function format ( input , level , options ) { if ( util . isArray ( input ) ) { return array ( input , level , options ) ; } else if ( util . isObject ( input ) ) { return object ( input , level , options ) ; } else { return stringify ( input , options ) ; } }
Turns the `input` object into a string with options for human-friendly
output.

@param {Object} input
@param {Object} [options]
@returns {String}
Turns the input object into a string with options for human - friendly output .