zheng 09448c24d1 webpack vor 1 Woche
..
LICENSE 09448c24d1 webpack vor 1 Woche
README.md 09448c24d1 webpack vor 1 Woche
all.js 09448c24d1 webpack vor 1 Woche
allLimit.js 09448c24d1 webpack vor 1 Woche
allSeries.js 09448c24d1 webpack vor 1 Woche
angelFall.js 09448c24d1 webpack vor 1 Woche
any.js 09448c24d1 webpack vor 1 Woche
anyLimit.js 09448c24d1 webpack vor 1 Woche
anySeries.js 09448c24d1 webpack vor 1 Woche
apply.js 09448c24d1 webpack vor 1 Woche
applyEach.js 09448c24d1 webpack vor 1 Woche
applyEachSeries.js 09448c24d1 webpack vor 1 Woche
async.js 09448c24d1 webpack vor 1 Woche
async.min.js 09448c24d1 webpack vor 1 Woche
asyncify.js 09448c24d1 webpack vor 1 Woche
auto.js 09448c24d1 webpack vor 1 Woche
autoInject.js 09448c24d1 webpack vor 1 Woche
cargo.js 09448c24d1 webpack vor 1 Woche
compose.js 09448c24d1 webpack vor 1 Woche
concat.js 09448c24d1 webpack vor 1 Woche
concatLimit.js 09448c24d1 webpack vor 1 Woche
concatSeries.js 09448c24d1 webpack vor 1 Woche
constant.js 09448c24d1 webpack vor 1 Woche
createLogger.js 09448c24d1 webpack vor 1 Woche
detect.js 09448c24d1 webpack vor 1 Woche
detectLimit.js 09448c24d1 webpack vor 1 Woche
detectSeries.js 09448c24d1 webpack vor 1 Woche
dir.js 09448c24d1 webpack vor 1 Woche
doDuring.js 09448c24d1 webpack vor 1 Woche
doUntil.js 09448c24d1 webpack vor 1 Woche
doWhilst.js 09448c24d1 webpack vor 1 Woche
during.js 09448c24d1 webpack vor 1 Woche
each.js 09448c24d1 webpack vor 1 Woche
eachLimit.js 09448c24d1 webpack vor 1 Woche
eachOf.js 09448c24d1 webpack vor 1 Woche
eachOfLimit.js 09448c24d1 webpack vor 1 Woche
eachOfSeries.js 09448c24d1 webpack vor 1 Woche
eachSeries.js 09448c24d1 webpack vor 1 Woche
ensureAsync.js 09448c24d1 webpack vor 1 Woche
every.js 09448c24d1 webpack vor 1 Woche
everyLimit.js 09448c24d1 webpack vor 1 Woche
everySeries.js 09448c24d1 webpack vor 1 Woche
fast.js 09448c24d1 webpack vor 1 Woche
filter.js 09448c24d1 webpack vor 1 Woche
filterLimit.js 09448c24d1 webpack vor 1 Woche
filterSeries.js 09448c24d1 webpack vor 1 Woche
find.js 09448c24d1 webpack vor 1 Woche
findLimit.js 09448c24d1 webpack vor 1 Woche
findSeries.js 09448c24d1 webpack vor 1 Woche
foldl.js 09448c24d1 webpack vor 1 Woche
foldr.js 09448c24d1 webpack vor 1 Woche
forEach.js 09448c24d1 webpack vor 1 Woche
forEachLimit.js 09448c24d1 webpack vor 1 Woche
forEachOf.js 09448c24d1 webpack vor 1 Woche
forEachOfLimit.js 09448c24d1 webpack vor 1 Woche
forEachOfSeries.js 09448c24d1 webpack vor 1 Woche
forEachSeries.js 09448c24d1 webpack vor 1 Woche
forever.js 09448c24d1 webpack vor 1 Woche
groupBy.js 09448c24d1 webpack vor 1 Woche
groupByLimit.js 09448c24d1 webpack vor 1 Woche
groupBySeries.js 09448c24d1 webpack vor 1 Woche
inject.js 09448c24d1 webpack vor 1 Woche
iterator.js 09448c24d1 webpack vor 1 Woche
log.js 09448c24d1 webpack vor 1 Woche
map.js 09448c24d1 webpack vor 1 Woche
mapLimit.js 09448c24d1 webpack vor 1 Woche
mapSeries.js 09448c24d1 webpack vor 1 Woche
mapValues.js 09448c24d1 webpack vor 1 Woche
mapValuesLimit.js 09448c24d1 webpack vor 1 Woche
mapValuesSeries.js 09448c24d1 webpack vor 1 Woche
memoize.js 09448c24d1 webpack vor 1 Woche
nextTick.js 09448c24d1 webpack vor 1 Woche
omit.js 09448c24d1 webpack vor 1 Woche
omitLimit.js 09448c24d1 webpack vor 1 Woche
omitSeries.js 09448c24d1 webpack vor 1 Woche
package.json 09448c24d1 webpack vor 1 Woche
parallel.js 09448c24d1 webpack vor 1 Woche
parallelLimit.js 09448c24d1 webpack vor 1 Woche
pick.js 09448c24d1 webpack vor 1 Woche
pickLimit.js 09448c24d1 webpack vor 1 Woche
pickSeries.js 09448c24d1 webpack vor 1 Woche
priorityQueue.js 09448c24d1 webpack vor 1 Woche
queue.js 09448c24d1 webpack vor 1 Woche
race.js 09448c24d1 webpack vor 1 Woche
reduce.js 09448c24d1 webpack vor 1 Woche
reduceRight.js 09448c24d1 webpack vor 1 Woche
reflect.js 09448c24d1 webpack vor 1 Woche
reflectAll.js 09448c24d1 webpack vor 1 Woche
reject.js 09448c24d1 webpack vor 1 Woche
rejectLimit.js 09448c24d1 webpack vor 1 Woche
rejectSeries.js 09448c24d1 webpack vor 1 Woche
retry.js 09448c24d1 webpack vor 1 Woche
retryable.js 09448c24d1 webpack vor 1 Woche
safe.js 09448c24d1 webpack vor 1 Woche
select.js 09448c24d1 webpack vor 1 Woche
selectLimit.js 09448c24d1 webpack vor 1 Woche
selectSeries.js 09448c24d1 webpack vor 1 Woche
seq.js 09448c24d1 webpack vor 1 Woche
series.js 09448c24d1 webpack vor 1 Woche
setImmediate.js 09448c24d1 webpack vor 1 Woche
some.js 09448c24d1 webpack vor 1 Woche
someLimit.js 09448c24d1 webpack vor 1 Woche
someSeries.js 09448c24d1 webpack vor 1 Woche
sortBy.js 09448c24d1 webpack vor 1 Woche
sortByLimit.js 09448c24d1 webpack vor 1 Woche
sortBySeries.js 09448c24d1 webpack vor 1 Woche
timeout.js 09448c24d1 webpack vor 1 Woche
times.js 09448c24d1 webpack vor 1 Woche
timesLimit.js 09448c24d1 webpack vor 1 Woche
timesSeries.js 09448c24d1 webpack vor 1 Woche
transform.js 09448c24d1 webpack vor 1 Woche
transformLimit.js 09448c24d1 webpack vor 1 Woche
transformSeries.js 09448c24d1 webpack vor 1 Woche
tryEach.js 09448c24d1 webpack vor 1 Woche
unmemoize.js 09448c24d1 webpack vor 1 Woche
until.js 09448c24d1 webpack vor 1 Woche
waterfall.js 09448c24d1 webpack vor 1 Woche
whilst.js 09448c24d1 webpack vor 1 Woche
wrapSync.js 09448c24d1 webpack vor 1 Woche

README.md

Neo-Async

npm Travis Status Coverage Status download Total Alerts FOSSA

Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster.

Benchmark is here!

Bluebird's benchmark is here!

Code Coverage

coverage

Installation

In a browser

<script src="async.min.js"></script>

In an AMD loader

require(['async'], function(async) {});

Promise and async/await

I recommend to use Aigle.

It is optimized for Promise handling and has almost the same functionality as neo-async.

Node.js

standard

$ npm install neo-async
var async = require('neo-async');

replacement

$ npm install neo-async
$ ln -s ./node_modules/neo-async ./node_modules/async
var async = require('async');

Bower

bower install neo-async

Feature

JSDoc

* not in Async

Collections

Control Flow

Utils

Mode

Benchmark

Benchmark: Async vs Neo-Async

How to check

$ node perf

Environment

  • Darwin 17.3.0 x64
  • Node.js v8.9.4
  • async v2.6.0
  • neo-async v2.5.0
  • benchmark v2.1.4

Result

The value is the ratio (Neo-Async/Async) of the average speed.

Collections

function benchmark
each/forEach 2.43
eachSeries/forEachSeries 1.75
eachLimit/forEachLimit 1.68
eachOf 3.29
eachOfSeries 1.50
eachOfLimit 1.59
map 3.95
mapSeries 1.81
mapLimit 1.27
mapValues 2.73
mapValuesSeries 1.59
mapValuesLimit 1.23
filter 3.00
filterSeries 1.74
filterLimit 1.17
reject 4.59
rejectSeries 2.31
rejectLimit 1.58
detect 4.30
detectSeries 1.86
detectLimit 1.32
reduce 1.82
transform 2.46
sortBy 4.08
some 2.19
someSeries 1.83
someLimit 1.32
every 2.09
everySeries 1.84
everyLimit 1.35
concat 3.79
concatSeries 4.45

Control Flow

funciton benchmark
parallel 2.93
series 1.96
waterfall 1.29
whilst 1.00
doWhilst 1.12
until 1.12
doUntil 1.12
during 1.18
doDuring 2.42
times 4.25
auto 1.97

License

FOSSA Status