No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

remember

Persist gossip (scuttlebutt, crdt, etc)

This module is suitable when you want to persist a single Scuttlebutt at once. If you have many, level-scuttlebutt is recommended.

var Emitter  = require('scuttlebutt/events')
var fs       = require('fs')
var Remember = require('remember')

var emitter  = new Emitter()
var remember = Remember(fs)

remember(emitter, '/tmp/remember-test-messages', function () {
  console.log('synced1')
})

License

MIT