Neighborly Package Megalodon
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hyperdrive-ui

4.0.2 • Public • Published

hyperdrive-ui

Explore the contents of a hyperdrive in the browser.

Example

Live demo: http://dat.land/

usage

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)
 

get started

npm install
npm start

Keywords

none

install

npm i hyperdrive-ui

Downloadsweekly downloads

12

version

4.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability