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

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