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