Skip to content

dominictarr/r-value

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r-value

A single replicated value.

I wrote this module to be a scuttlebutt that fits well with the typical document key-value store idea,

But it also works well as a demonstration of the simplest possible Scuttlebutt.

Or when you just need something really really simple that integrates with rumours

Example

var Value = require('r-value')

var v = Value()

v.set([anyObject])

v.get() //current value

v.on('update', function (value) {
  console.log('new value', value)
})

See Scuttlebutt for more documentation.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published