Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 368 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 368 Bytes

SSB Manifest

for constructing RPC sessions with scuttlebot and other ssb nodes

var muxrpc     = require('muxrpc')
var Serializer = require('pull-serializer')
var manifest   = require('ssb-manifest') 

// create a RPC object using the ssb protocol
var ssb = muxrpc(manifest, false, function (stream) { return Serializer(stream, JSON, {split: '\n\n'}) })()