Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A pipeline for nodejs, inspired by netty and grizzly pipelines
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE.TXT
README
nodepipe.js
package.json
test.js

README

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
Something went wrong with that request. Please try again.