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