0.0.6 • Published 12 years ago

double-under v0.0.6

Weekly downloads
22
License
-
Repository
github
Last release
12 years ago

Double Under

Double Under is a node.js utility that allows for shared objects between different node processes and machines. It is backed by redis using a pub/sub channel.

It is simple and fun to use.

var __ = require('double-under');

// configure redis host before using
__.configure({
  host: 'localhost'
});


// variables are shared based on namespace
var foo = __({
  __: 'foo', // namespace (required)
  foo: 'bar',
  baz: 'bam'
});

foo.baz = 'bambam!';
// baz is now propogated to every
// process on every machine

// if you set a new property,
// use the set method the first time
foo.set('double', 'under');

foo.double = 'underscore'; // this works now.
0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

12 years ago