0.1.1 • Published 12 years ago

rundfunk v0.1.1

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

Rundfunk

Rundfunk is zero-conf distributed pubsub build using polo and http It's available through npm:

npm install rundfunk

Usage

var rundfunk = require('rundfunk');
var funk = rundfunk();

funk.subscribe('hello', function(message) {
	console.log(message);
});

// wait a bit and then publish something

setTimeout(function() {
	funk.broadcast('hello', {hello:'world'});	
}, 100);

That's it! Try running the above example in a couple of processes and you should see that it's freakin' distributed!

License

MIT

0.1.1

12 years ago

0.1.0

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago