dat-node icon indicating copy to clipboard operation
dat-node copied to clipboard

DatPeers support

Open RangerMauve opened this issue 7 years ago • 1 comments

It'd be awesome if this provided the datPeers API from beaker.

Maybe under dat.getPeers(url) and have that return the DatPeers object.

Would a PR be welcome for this addition?

I'm planning to refactor node-web-loader to make use of this and I could see DatPeers being useful for other applications once people start building stuff with it.

RangerMauve avatar Aug 30 '18 17:08 RangerMauve

A PR would be welcome. The beaker implementation is fairly modular, and should be easy to port over.

pfrazee avatar Aug 30 '18 18:08 pfrazee