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