Home > nodepipe

nodepipe

Nodepipe is a project mainly written in JavaScript, based on the View license.

A pipeline for nodejs, inspired by netty and grizzly pipelines

nodepipe

A javascript implementation of 'intercepting filter,' inspired by netty and grizzly pipelines.

Currently the implementation is beta.

Example:

var p = new Pipeline(); p.addHandler({incoming:function(ctx,evt){console.log(evt);ctx.forward(evt+evt);}}); p.addHandler({incoming:function(ctx,evt){console.log(evt);}}); p.pushIncoming("yo");

yo yoyo

TODO:

  1. Move the test out of nodepipe.js and into its own file
  2. Test all basic functionality
  3. Clarify event interface (type of event, body of event, etc.)
  4. Document basic functionality
  5. Integrate with node.js's stream events
Previous:hello-world