Skip to content

jwchang0206/forAsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status

Installation

using NPM
npm install forAsync
using git
git clone [email protected]: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
});

About

Async Loop Functions for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published