a zip code crypto-currency system good for red ONLY
Eric Foster d5378345de connection between front end and database 6 years ago
..
dist connection between front end and database 6 years ago
internal connection between front end and database 6 years ago
CHANGELOG.md connection between front end and database 6 years ago
LICENSE connection between front end and database 6 years ago
README.md connection between front end and database 6 years ago
all.js connection between front end and database 6 years ago
allLimit.js connection between front end and database 6 years ago
allSeries.js connection between front end and database 6 years ago
any.js connection between front end and database 6 years ago
anyLimit.js connection between front end and database 6 years ago
anySeries.js connection between front end and database 6 years ago
apply.js connection between front end and database 6 years ago
applyEach.js connection between front end and database 6 years ago
applyEachSeries.js connection between front end and database 6 years ago
asyncify.js connection between front end and database 6 years ago
auto.js connection between front end and database 6 years ago
autoInject.js connection between front end and database 6 years ago
bower.json connection between front end and database 6 years ago
cargo.js connection between front end and database 6 years ago
compose.js connection between front end and database 6 years ago
concat.js connection between front end and database 6 years ago
concatLimit.js connection between front end and database 6 years ago
concatSeries.js connection between front end and database 6 years ago
constant.js connection between front end and database 6 years ago
detect.js connection between front end and database 6 years ago
detectLimit.js connection between front end and database 6 years ago
detectSeries.js connection between front end and database 6 years ago
dir.js connection between front end and database 6 years ago
doDuring.js connection between front end and database 6 years ago
doUntil.js connection between front end and database 6 years ago
doWhilst.js connection between front end and database 6 years ago
during.js connection between front end and database 6 years ago
each.js connection between front end and database 6 years ago
eachLimit.js connection between front end and database 6 years ago
eachOf.js connection between front end and database 6 years ago
eachOfLimit.js connection between front end and database 6 years ago
eachOfSeries.js connection between front end and database 6 years ago
eachSeries.js connection between front end and database 6 years ago
ensureAsync.js connection between front end and database 6 years ago
every.js connection between front end and database 6 years ago
everyLimit.js connection between front end and database 6 years ago
everySeries.js connection between front end and database 6 years ago
filter.js connection between front end and database 6 years ago
filterLimit.js connection between front end and database 6 years ago
filterSeries.js connection between front end and database 6 years ago
find.js connection between front end and database 6 years ago
findLimit.js connection between front end and database 6 years ago
findSeries.js connection between front end and database 6 years ago
foldl.js connection between front end and database 6 years ago
foldr.js connection between front end and database 6 years ago
forEach.js connection between front end and database 6 years ago
forEachLimit.js connection between front end and database 6 years ago
forEachOf.js connection between front end and database 6 years ago
forEachOfLimit.js connection between front end and database 6 years ago
forEachOfSeries.js connection between front end and database 6 years ago
forEachSeries.js connection between front end and database 6 years ago
forever.js connection between front end and database 6 years ago
groupBy.js connection between front end and database 6 years ago
groupByLimit.js connection between front end and database 6 years ago
groupBySeries.js connection between front end and database 6 years ago
index.js connection between front end and database 6 years ago
inject.js connection between front end and database 6 years ago
log.js connection between front end and database 6 years ago
map.js connection between front end and database 6 years ago
mapLimit.js connection between front end and database 6 years ago
mapSeries.js connection between front end and database 6 years ago
mapValues.js connection between front end and database 6 years ago
mapValuesLimit.js connection between front end and database 6 years ago
mapValuesSeries.js connection between front end and database 6 years ago
memoize.js connection between front end and database 6 years ago
nextTick.js connection between front end and database 6 years ago
package.json connection between front end and database 6 years ago
parallel.js connection between front end and database 6 years ago
parallelLimit.js connection between front end and database 6 years ago
priorityQueue.js connection between front end and database 6 years ago
queue.js connection between front end and database 6 years ago
race.js connection between front end and database 6 years ago
reduce.js connection between front end and database 6 years ago
reduceRight.js connection between front end and database 6 years ago
reflect.js connection between front end and database 6 years ago
reflectAll.js connection between front end and database 6 years ago
reject.js connection between front end and database 6 years ago
rejectLimit.js connection between front end and database 6 years ago
rejectSeries.js connection between front end and database 6 years ago
retry.js connection between front end and database 6 years ago
retryable.js connection between front end and database 6 years ago
select.js connection between front end and database 6 years ago
selectLimit.js connection between front end and database 6 years ago
selectSeries.js connection between front end and database 6 years ago
seq.js connection between front end and database 6 years ago
series.js connection between front end and database 6 years ago
setImmediate.js connection between front end and database 6 years ago
some.js connection between front end and database 6 years ago
someLimit.js connection between front end and database 6 years ago
someSeries.js connection between front end and database 6 years ago
sortBy.js connection between front end and database 6 years ago
timeout.js connection between front end and database 6 years ago
times.js connection between front end and database 6 years ago
timesLimit.js connection between front end and database 6 years ago
timesSeries.js connection between front end and database 6 years ago
transform.js connection between front end and database 6 years ago
tryEach.js connection between front end and database 6 years ago
unmemoize.js connection between front end and database 6 years ago
until.js connection between front end and database 6 years ago
waterfall.js connection between front end and database 6 years ago
whilst.js connection between front end and database 6 years ago
wrapSync.js connection between front end and database 6 years ago

README.md

Async Logo

Build Status via Travis CI NPM version Coverage Status libhive - Open source examples jsDelivr Hits

Async is a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript. Although originally designed for use with Node.js and installable via npm install --save async, it can also be used directly in the browser.

This version of the package is optimized for the Node.js environment. If you use Async with webpack, install async-es instead.

For Documentation, visit https://caolan.github.io/async/

For Async v1.5.x documentation, go HERE

// for use with Node-style callbacks...
var async = require("async");

var obj = {dev: "/dev.json", test: "/test.json", prod: "/prod.json"};
var configs = {};

async.forEachOf(obj, (value, key, callback) => {
    fs.readFile(__dirname + value, "utf8", (err, data) => {
        if (err) return callback(err);
        try {
            configs[key] = JSON.parse(data);
        } catch (e) {
            return callback(e);
        }
        callback();
    });
}, err => {
    if (err) console.error(err.message);
    // configs is now a map of JSON data
    doSomethingWith(configs);
});
var async = require("async");

// ...or ES2017 async functions
async.mapLimit(urls, 5, async function(url) {
    const response = await fetch(url)
    return response.body
}, (err, results) => {
    if (err) throw err
    // results is now an array of the response bodies
    console.log(results)
})