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

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