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

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