replicate an object with scuttlebutt
npm install gossip-object
var Model = require('gossip-object')
Make yourself a fresh one.
set a value, with either a path (an array of keys, diving into recursive objects) or a plain key
get a value, with either a path (an array of keys, diving into recursive objects) or a plain key
delete a value, with either a path (an array of keys, diving into recursive objects) or a plain key
get all the data plain JS object
get notified when changes happen, you're passed the .toJSON() from before the change so you can tell the difference.