Explore the contents of a hyperdrive in the browser.
Live demo: http://dat.land/
npm install hyperdrive-ui
hyperdriveUI(archive, opts, onclick)
Renders the explorer.
var explorer = require('hyperdrive-ui')
function onclick (ev, entry) {
console.log('clicked', entry.name, entry.type)
}
var tree = explorer(archive, onclick)
document.querySelector('#hyperdrive').appendChild(tree)
npm install
npm start