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

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