npm install treezA simple tree widget inspired by [tree-view] where the css is copied from!
using [yo-yo]
javascript
var widget = require('treez')({
root: root,
onSelect: (selected) => console.log('selected', selected),
onOpen: (opened) => console.log('opened', opened)
})
window.document.body.appendChild(widget.el)
``see [full-example]

Try it out! 
[tree-view]:https://github.com/maxogden/tree-view
[yo-yo]:https://github.com/maxogden/yo-yo
[full-example]:https://github.com/JamesKyburz/treez/blob/master/example.js