Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dat-ecosystem-archive/dat-ls

Small program that lists all the changes in a dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
https://github.com/dat-ecosystem-archive/dat-ls

Last synced: about 2 months ago
JSON representation

Small program that lists all the changes in a dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]

Awesome Lists containing this project

README

        

[![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)](https://dat-ecosystem.org/)

More info on active projects and modules at [dat-ecosystem.org](https://dat-ecosystem.org/)

---

# dat-ls

Small program that lists all the changes in a dat

```
npm install -g dat-ls
```

[![build status](http://img.shields.io/travis/mafintosh/dat-ls.svg?style=flat)](http://travis-ci.org/mafintosh/dat-ls)

## Usage

```
dat-ls
```

Here is an example

```
> dat-ls 8a1b6864f290a1204a3fe048ced34865a24f5fdef4ce3753bab613f66636587d

Dat contains 6 changes

[put] /
[put] LICENSE (1.08 kB, 1 blocks)
[put] README.md (145 B, 1 blocks)
[put] index.js (1.18 kB, 1 blocks)
[put] package.json (648 B, 1 blocks)

Total content size: 3.05 kB
```

Per default it'll exit after reading the first snapshot of the change feed.
To keep listening for changes use the `--live` flag

```
> dat-ls 8a1b6864f290a1204a3fe048ced34865a24f5fdef4ce3753bab613f66636587d --live
```

## License

MIT