Dashboard sipadu mbip
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
root d8c1b4a1be initial 6年前
..
LICENSE initial 6年前
README.md initial 6年前
all.js initial 6年前
allLimit.js initial 6年前
allSeries.js initial 6年前
angelFall.js initial 6年前
any.js initial 6年前
anyLimit.js initial 6年前
anySeries.js initial 6年前
apply.js initial 6年前
applyEach.js initial 6年前
applyEachSeries.js initial 6年前
async.js initial 6年前
async.min.js initial 6年前
asyncify.js initial 6年前
auto.js initial 6年前
autoInject.js initial 6年前
cargo.js initial 6年前
compose.js initial 6年前
concat.js initial 6年前
concatLimit.js initial 6年前
concatSeries.js initial 6年前
constant.js initial 6年前
createLogger.js initial 6年前
detect.js initial 6年前
detectLimit.js initial 6年前
detectSeries.js initial 6年前
dir.js initial 6年前
doDuring.js initial 6年前
doUntil.js initial 6年前
doWhilst.js initial 6年前
during.js initial 6年前
each.js initial 6年前
eachLimit.js initial 6年前
eachOf.js initial 6年前
eachOfLimit.js initial 6年前
eachOfSeries.js initial 6年前
eachSeries.js initial 6年前
ensureAsync.js initial 6年前
every.js initial 6年前
everyLimit.js initial 6年前
everySeries.js initial 6年前
fast.js initial 6年前
filter.js initial 6年前
filterLimit.js initial 6年前
filterSeries.js initial 6年前
find.js initial 6年前
findLimit.js initial 6年前
findSeries.js initial 6年前
foldl.js initial 6年前
foldr.js initial 6年前
forEach.js initial 6年前
forEachLimit.js initial 6年前
forEachOf.js initial 6年前
forEachOfLimit.js initial 6年前
forEachOfSeries.js initial 6年前
forEachSeries.js initial 6年前
forever.js initial 6年前
groupBy.js initial 6年前
groupByLimit.js initial 6年前
groupBySeries.js initial 6年前
inject.js initial 6年前
iterator.js initial 6年前
log.js initial 6年前
map.js initial 6年前
mapLimit.js initial 6年前
mapSeries.js initial 6年前
mapValues.js initial 6年前
mapValuesLimit.js initial 6年前
mapValuesSeries.js initial 6年前
memoize.js initial 6年前
nextTick.js initial 6年前
omit.js initial 6年前
omitLimit.js initial 6年前
omitSeries.js initial 6年前
package.json initial 6年前
parallel.js initial 6年前
parallelLimit.js initial 6年前
pick.js initial 6年前
pickLimit.js initial 6年前
pickSeries.js initial 6年前
priorityQueue.js initial 6年前
queue.js initial 6年前
race.js initial 6年前
reduce.js initial 6年前
reduceRight.js initial 6年前
reflect.js initial 6年前
reflectAll.js initial 6年前
reject.js initial 6年前
rejectLimit.js initial 6年前
rejectSeries.js initial 6年前
retry.js initial 6年前
retryable.js initial 6年前
safe.js initial 6年前
select.js initial 6年前
selectLimit.js initial 6年前
selectSeries.js initial 6年前
seq.js initial 6年前
series.js initial 6年前
setImmediate.js initial 6年前
some.js initial 6年前
someLimit.js initial 6年前
someSeries.js initial 6年前
sortBy.js initial 6年前
sortByLimit.js initial 6年前
sortBySeries.js initial 6年前
timeout.js initial 6年前
times.js initial 6年前
timesLimit.js initial 6年前
timesSeries.js initial 6年前
transform.js initial 6年前
transformLimit.js initial 6年前
transformSeries.js initial 6年前
tryEach.js initial 6年前
unmemoize.js initial 6年前
until.js initial 6年前
waterfall.js initial 6年前
whilst.js initial 6年前
wrapSync.js initial 6年前

README.md

Neo-Async

npm Travis Status Coverage Status download Total Alerts

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