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

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