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

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