Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Async Loop Functions for Node.js

branch: master

Merge pull request #1 from travis4all/clean

The repo your repo could be like!
latest commit 06d3728e1b
JeongWoo Chang authored
README.md

build status

Installation

using NPM
npm install forAsync
using git
git clone git@github.com:InspiredJW/forAsync.git

After Installation

import it to your .js file
var forAsync = require('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
});
Something went wrong with that request. Please try again.