node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

forAsync

Usage:

Upward Loop Function
up( 0, 10, 1, function(i) {
    // Do something
}, function() {
    // callback
});
Downward Loop Function
down( 10, 1, 2, function(i) {
    // Do something
}, function() {
    // callback
});
forEach Loop Function
forEach( Array, function(k, v) {
    // Do something
}, function() {
    // callback
});