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

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