conduit

A event system for the browser that also runs server side in Node.js.

npm install conduit
2 downloads in the last week
4 downloads in the last month

Conduit Build Status

A minimalist event library for web applications.

var conduit = require('conduit').createConduit(),
    equal = require('assert').equal;

var source = conduit.publish('namespace.name');
conduit.subscribe('namespace.name', sink);

source(1);

function sink (number) {
  equal(number, 1, 'got a number');
}

Change Log

Changes for each release.

Version 0.0.0 — Wed Jul 18 06:22:28 UTC 2012

  • Add Travis CI chicklet to README.md. #7.
  • Create facility to subscribe to only one event. #6.
  • Create publish and subscribe. #5.
  • Build on Travis CI. #3.
npm loves you