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

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)
})