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

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