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

README.md

Neo-Async

npm Travis Status Coverage Status download 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