cobox-swarm
v1.0.0
Published
swarm operation for cobox
Downloads
1
Readme
cobox-swarm
swarm operation for cobox.
API
const Swarm = require('cobox-swarm')
let swarm = Swarm(group, opts)
Starts swarming and returns the swarm stream
group
a group object fromcobox-group
opts
an options object which may contain:opts.hyperswarm
Use hyperswarm instead of discovery-swarm?opts.logger
- an custom logger. Defaults todebug('cobox-swarm')