4.1.0 • Published 3 years ago

tre-client v4.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

tre-client

Fully automated client connections for web applications based on secure-scuttlebutt

Example

const {client} = require('tre-client')

client( (err, ssb, config) => {
  if (err) return console.error(err)
  ssb.whoami( (err, feed) => {
    if (err) return console.error(err)
    console.log('pub key', feed.id) 
  }) 
})

Note: tre-client assumes that your sbot configuration is in a file called .trerc in your project's home directory (next to package.json).

Install

sbot plugins.install tre-client

See also

tre-init

4.1.0

3 years ago

4.0.0

3 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

1.3.1

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago