# dat-explorer

> Explore the contents of a dat in the browser.

Latest version **1.0.0** (published 2016-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install dat-explorer
pnpm add dat-explorer
yarn add dat-explorer
bun add dat-explorer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-01-12 |
| First published | 2016-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Karissa McKelvey |
| Maintainers | karissa |

## Links

- npm: https://www.npmjs.com/package/dat-explorer
- Repository: https://github.com/karissa/dat-explorer
- Homepage: https://github.com/karissa/dat-explorer#readme
- Issues: https://github.com/karissa/dat-explorer/issues
- npm.io page: https://npm.io/package/dat-explorer

## Dependencies (8)

- [xhr](https://npm.io/package/xhr.md) ^2.2.0
- [body](https://npm.io/package/body.md) ^5.1.0
- [brfs](https://npm.io/package/brfs.md) ^1.4.2
- [pump](https://npm.io/package/pump.md) ^1.0.1
- [ractive](https://npm.io/package/ractive.md) ^0.7.3
- [request](https://npm.io/package/request.md) ^2.67.0
- [render-data](https://npm.io/package/render-data.md) ^1.0.0
- [file-browser-widget](https://npm.io/package/file-browser-widget.md) ^1.0.5

## Recent versions

- 1.0.0 (latest) — 2016-01-12

## README

# dat-explorer

Explore the contents of a [dat link](http://github.com/maxogden/dat) in the browser.

## TODO

- [ ] work entirely in the browser
- [ ] have a big download button
- [ ] selective file or folder download
- [x] 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.

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

---
_Source: https://npm.io/package/dat-explorer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
