You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
isaacs c383befd25 npm: Upgrade to 1.1.43 13 years ago
..
lib Include NPM, update .pkg to install it. 13 years ago
.npmignore Include NPM, update .pkg to install it. 13 years ago
LICENSE Include NPM, update .pkg to install it. 13 years ago
README.md Include NPM, update .pkg to install it. 13 years ago
index.js Include NPM, update .pkg to install it. 13 years ago
package.json Include NPM, update .pkg to install it. 13 years ago

README.md

Slide - a tiny flow control library

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

Check out the slide presentation, or the blog post.

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 use this util in a real world program.

You should use it as an example of how to write your own flow control utilities. You'll never fully appreciate a flow control lib that you didn't write yourself.

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!