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

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