handlebars/helpers/index.js
function renderTree (object, options) {
  const tree = require('archy')(transformTree(object, options.fn))
  return '<pre><code>\n' + tree + '</code></pre>'
}
function renderTree (object, options) {
  const tree = require('archy')(transformTree(object, options.fn))
  return '<pre><code>\n' + tree + '</code></pre>'
}
function renderTree ( object , options ) { const tree = require ( 'archy' ) ( transformTree ( object , options . fn ) ) return '<pre><code>\n' + tree + '</code></pre>' }
Render an object hierarchy.

The expected input is of the form

```
{
prop1: 'value',
prop2: 'value',
...,
children: [
{
prop1: 'value',
propt2: 'value',
...,
children: ...
}
]
}
```

The tree is transformed and rendered using [archy](https://www.npmjs.com/package/archy)

@param object
@param options
@param {function} options.fn computes the label for a node based on the node itself
@returns {string}
@access public
@memberOf helpers
Render an object hierarchy .