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

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