Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 452 Bytes

create-a-js-client.md

File metadata and controls

10 lines (8 loc) · 452 Bytes

Create a JS Client

The ssb-client module can be used for making a connection to a running ssb-server process. Internally, it does use some defaults of configuration that at different times and other use cases you may wish to customize, such as the location of the configuration and private keys that it looks up.

var ssbClient = require('ssb-client')
ssbClient(function (err, sbot) {
  // ready
})