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