Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

ssb-replicate

Package Overview
Dependencies
Maintainers
17
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-replicate

ssb legacy replication. this was previously built into `ssb-server` (formerly known as `scuttlebot`)

Source
npmnpm
Version
1.2.1
Version published
Weekly downloads
181
-21.98%
Maintainers
17
Weekly downloads
 
Created
Source

ssb-replicate

ssb legacy replication. this was previously built into ssb-server (formerly known as scuttlebot)

usage

var createSSB = require('ssb-server')
  .use(require('ssb-replicate'))

var sbot = createSSB({config...})

config

{
  replicate: {
    legacy: boolean, // whether to support legacy replication.
                     // if set to false, another plugin must provide replication.
                     // (such as ssb-ebt)
    fallback: boolean, //if enabled, wait for another plugin to try to replicate first.
                      //if set will not start to replacte until replicate:fallback event is emitted on the rpc connection.
  }
}

api

replicate.request({id:feedId, replicate:replicate}) : sync

request that feedId be replicated (or not if replicate is false. will begin or end replication on any currently open connections.

replicate.changes : soruce

get a feed of replication progress.

License

MIT

FAQs

Package last updated on 15 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts