Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.05 KB

deprecated

More info on active projects and modules at dat-ecosystem.org


dat-ls

Small program that lists all the changes in a dat

npm install -g dat-ls

build status

Usage

dat-ls <dat-link>

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