yaflow

Yet another flow control module

Usage no npm install needed!

<script type="module">
  import yaflow from 'https://cdn.skypack.dev/yaflow';
</script>

README

Build 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) {
  process.nextTick(function () {
    next();
  });
});

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

flow.execute(req, res);

License

MIT