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

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