1.0.0 • Published 9 years ago

dat-explorer v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

dat-explorer

Explore the contents of a dat link in the browser.

TODO

  • work entirely in the browser
  • have a big download button
  • selective file or folder download
  • display metadata (like last modified, size) in file list
  • handle sub-directories

Example

npm install
npm start

usage

npm install dat-explorer

explorer(element, link)

Renders the explorer given an HTML DOM element and a dat:// link.

var explorer = require('dat-explorer')
var link = 'dat://ea18e8fe42b1c344d8bfcdf6449d61f5228767ef8b5e9155768bba436245af84'
explorer('#dat', link)