dat-node
dat-node copied to clipboard
DatPeers support
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.
A PR would be welcome. The beaker implementation is fairly modular, and should be easy to port over.