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

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