tree: 4fadb04593936b249d535d2c1e5217727f4ff758 [path history] [tgz]
  1. lib/
  2. index.js
  3. nodejs-controlling-flow.pdf
  4. package.json
  5. README.md
node_modules/slide/README.md

Slide - a tiny flow control library

Callbacks are simple and easy if you keep the pattern consistent.

Check out the slide presentation.

You‘ll laugh when you see how little code is actually in this thing. It’s so not-enterprisey, you won‘t believe it. It does almost nothing, but it’s super handy.

I actually use an earlier version of this util in a real world program.

Installation

Just copy the files into your project, and use them that way, or you can do this:

npm install slide

and then:

var asyncMap = require("slide").asyncMap
  , chain = require("slide").chain
// use the power!

Enjoy!