/ live.thehmm.nl / back / node_modules / async /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]internal/2 years ago -  
[DIR]dist/2 years ago -  
[TXT]CHANGELOG.md39 years ago 33K 
[   ]LICENSE39 years ago1.0K 
[TXT]README.md39 years ago3.1Kd7c1522 post receive test [كارل مبارك]
[   ]all.js39 years ago3.5K 
[   ]allLimit.js39 years ago1.7K 
[   ]allSeries.js39 years ago1.6K 
[   ]any.js39 years ago3.7K 
[   ]anyLimit.js39 years ago1.7K 
[   ]anySeries.js39 years ago1.6K 
[   ]apply.js39 years ago3.0K 
[   ]applyEach.js39 years ago1.9K 
[   ]applyEachSeries.js39 years ago1.3K 
[   ]asyncify.js39 years ago3.7K 
[   ]auto.js39 years ago 12K 
[   ]autoInject.js39 years ago6.9K 
[   ]bower.json39 years ago239  
[   ]cargo.js39 years ago2.7K 
[   ]cargoQueue.js39 years ago3.3K 
[   ]compose.js39 years ago1.5K 
[   ]concat.js39 years ago3.6K 
[   ]concatLimit.js39 years ago2.0K 
[   ]concatSeries.js39 years ago1.4K 
[   ]constant.js39 years ago2.9K 
[   ]detect.js39 years ago3.2K 
[   ]detectLimit.js39 years ago1.8K 
[   ]detectSeries.js39 years ago1.7K 
[   ]dir.js39 years ago1.3K 
[   ]doDuring.js39 years ago2.2K 
[   ]doUntil.js39 years ago1.7K 
[   ]doWhilst.js39 years ago2.2K 
[   ]during.js39 years ago2.3K 
[   ]each.js39 years ago3.9K 
[   ]eachLimit.js39 years ago1.7K 
[   ]eachOf.js39 years ago5.6K 
[   ]eachOfLimit.js39 years ago1.6K 
[   ]eachOfSeries.js39 years ago1.3K 
[   ]eachSeries.js39 years ago1.5K 
[   ]ensureAsync.js39 years ago2.3K 
[   ]every.js39 years ago3.5K 
[   ]everyLimit.js39 years ago1.7K 
[   ]everySeries.js39 years ago1.6K 
[   ]filter.js39 years ago2.8K 
[   ]filterLimit.js39 years ago1.6K 
[   ]filterSeries.js39 years ago1.5K 
[   ]find.js39 years ago3.2K 
[   ]findLimit.js39 years ago1.8K 
[   ]findSeries.js39 years ago1.7K 
[   ]flatMap.js39 years ago3.6K 
[   ]flatMapLimit.js39 years ago2.0K 
[   ]flatMapSeries.js39 years ago1.4K 
[   ]foldl.js39 years ago4.8K 
[   ]foldr.js39 years ago1.5K 
[   ]forEach.js39 years ago3.9K 
[   ]forEachLimit.js39 years ago1.7K 
[   ]forEachOf.js39 years ago5.6K 
[   ]forEachOfLimit.js39 years ago1.6K 
[   ]forEachOfSeries.js39 years ago1.3K 
[   ]forEachSeries.js39 years ago1.5K 
[   ]forever.js39 years ago2.1K 
[   ]groupBy.js39 years ago3.5K 
[   ]groupByLimit.js39 years ago2.4K 
[   ]groupBySeries.js39 years ago1.3K 
[   ]index.js39 years ago 19K 
[   ]inject.js39 years ago4.8K 
[   ]log.js39 years ago1.2K 
[   ]map.js39 years ago4.5K 
[   ]mapLimit.js39 years ago1.6K 
[   ]mapSeries.js39 years ago1.5K 
[   ]mapValues.js39 years ago4.5K 
[   ]mapValuesLimit.js39 years ago2.1K 
[   ]mapValuesSeries.js39 years ago1.3K 
[   ]memoize.js39 years ago3.0K 
[   ]nextTick.js39 years ago1.4K 
[   ]parallel.js39 years ago5.4K 
[   ]parallelLimit.js39 years ago1.5K 
[   ]priorityQueue.js39 years ago2.6K 
[   ]queue.js39 years ago7.2K 
[   ]race.js39 years ago2.1K 
[   ]reduce.js39 years ago4.8K 
[   ]reduceRight.js39 years ago1.5K 
[   ]reflect.js39 years ago2.2K 
[   ]reflectAll.js39 years ago2.4K 
[   ]reject.js39 years ago2.6K 
[   ]rejectLimit.js39 years ago1.5K 
[   ]rejectSeries.js39 years ago1.4K 
[   ]retry.js39 years ago5.4K 
[   ]retryable.js39 years ago2.5K 
[   ]select.js39 years ago2.8K 
[   ]selectLimit.js39 years ago1.6K 
[   ]selectSeries.js39 years ago1.5K 
[   ]seq.js39 years ago2.6K 
[   ]series.js39 years ago5.7K 
[   ]setImmediate.js39 years ago1.4K 
[   ]some.js39 years ago3.7K 
[   ]someLimit.js39 years ago1.7K 
[   ]someSeries.js39 years ago1.6K 
[   ]sortBy.js39 years ago6.1K 
[   ]timeout.js39 years ago2.7K 
[   ]times.js39 years ago1.5K 
[   ]timesLimit.js39 years ago1.4K 
[   ]timesSeries.js39 years ago1.0K 
[   ]transform.js39 years ago5.4K 
[   ]tryEach.js39 years ago2.5K 
[   ]unmemoize.js39 years ago668  
[   ]until.js39 years ago2.0K 
[   ]waterfall.js39 years ago3.1K 
[   ]whilst.js39 years ago2.3K 
[   ]wrapSync.js39 years ago3.7K 
[   ]package.json2 years ago2.9K 
README.md

Async Logo

Github Actions CI status NPM version Coverage Status Join the chat at https://gitter.im/caolan/async 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 i async, it can also be used directly in the browser. A ESM/MJS version is included in the main async package that should automatically be used with compatible bundlers such as Webpack and Rollup.

A pure ESM version of Async is available as async-es.

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)
})
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80