node package manager


Empowers you node app with simple pub/sub functionality. Good for mocking a pub/sub back-end or writing single instance pub/sub applications.


A port of bloody-jquery-plugins pubsub functionality.

This is simple pubsub feature to be used in node.

var pubsub = require('node-pubsub');

pubsub.subscribe('/mychannel', function( message ){ console.log(message); }); pubsub.publish('mychannel', [ { message: 'my message'}], this);

Ambiguous communication plugin. Small API surface. Publish some message to listeners.


Being stolen directly from the Dojo Toolkit source/bloody-jquery-plugins, this code is released under a dual AFL/BSD license identical to Dojo proper. See for more information.