hypercore-replicate
A simple function to replicate multiple hypercores.
Installation
$ npm install hypercore-replicate
Usage
const replicate =
Example
const replicate = const hypercore = const ram = const feed = feed
API
stream = replicate(...hypercores, opts, onend)
Replicate a variable amount of hypercores that share the same key with each
other where opts
is passed to hypercores[i].relicate(opts)
and
onend
is called when all the replication streams have ended.
License
MIT