node package manager
Easy sharing. Manage teams and permissions with one click. 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
});