index.js
function createStringifier (pp, spaces) {
  return function stringify (value) {
    var visitor = prettyPrintVisitor(pp, spaces)
    traverse(value, visitor)
    return visitor.result
  }
}
function createStringifier (pp, spaces) {
  return function stringify (value) {
    var visitor = prettyPrintVisitor(pp, spaces)
    traverse(value, visitor)
    return visitor.result
  }
}
function createStringifier ( pp , spaces ) { return function stringify ( value ) { var visitor = prettyPrintVisitor ( pp , spaces ) traverse ( value , visitor ) return visitor . result } }
Stringifier factory.

@param {function} pp Fallback pretty printer
@param {number} spaces Number of spaces for indentation
@return {function}
Stringifier factory .