yaflow

Yet another flow control module

npm install yaflow
12 downloads in the last month

Build Status Coverage Status Dependency Status

About

yaflow is yet another flow control module for Node.js.

Usage


var flow = require('yaflow').create();

flow.use(function (req, res, next, stop) {
  process.nextTick(function () {
    next();
  });
});

flow.use(function (req, res, next, stop) {
  // ...
});

flow.execute(req, res, function () {
  console.log(res);
});

License

MIT

npm loves you