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

Neo-Async

npm Travis Status Coverage Status download Code Quality: Javascript 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