11e3a9652a first 8 年之前 stringstream 11e3a9652a first 8 年之前 strip-ansi 11e3a9652a first 8 年之前 strip-bom 11e3a9652a first 8 年之前 strip-eof 11e3a9652a first 8 年之前 strip-indent 11e3a9652a first 8 年之前 strip-json-comments 11e3a9652a first 8 年之前 supports-color 11e3a9652a first 8 年之前 svg-tags 11e3a9652a first 8 年之前 svgo 11e3a9652a first 8 年之前 symbol-tree 11e3a9652a first 8 年之前 table 11e3a9652a first 8 年之前 tapable 11e3a9652a first 8 年之前 tar 11e3a9652a first 8 年之前 test-exclude 11e3a9652a first 8 年之前 text-table 11e3a9652a first 8 年之前 throat 11e3a9652a first 8 年之前 throttle-debounce 11e3a9652a first 8 年之前 through 11e3a9652a first 8 年之前 through2 11e3a9652a first 8 年之前 thunkify 11e3a9652a first 8 年之前 thunky 11e3a9652a first 8 年之前 time-stamp 11e3a9652a first 8 年之前 timers-browserify 11e3a9652a first 8 年之前 tmp 11e3a9652a first 8 年之前 tmpl 11e3a9652a first 8 年之前 to-arraybuffer 11e3a9652a first 8 年之前 to-fast-properties 11e3a9652a first 8 年之前 to-object-path 11e3a9652a first 8 年之前 to-regex 11e3a9652a first 8 年之前 to-regex-range 11e3a9652a first 8 年之前 toposort 11e3a9652a first 8 年之前 tough-cookie 11e3a9652a first 8 年之前 tr46 11e3a9652a first 8 年之前 trim-newlines 11e3a9652a first 8 年之前 trim-right 11e3a9652a first 8 年之前 true-case-path 11e3a9652a first 8 年之前 tryer 11e3a9652a first 8 年之前 tsconfig 11e3a9652a first 8 年之前 tty-browserify 11e3a9652a first 8 年之前 tunnel-agent 11e3a9652a first 8 年之前 tweetnacl 11e3a9652a first 8 年之前 type-check 11e3a9652a first 8 年之前 type-detect 11e3a9652a first 8 年之前 type-is 11e3a9652a first 8 年之前 typedarray 11e3a9652a first 8 年之前 uglify-js 11e3a9652a first 8 年之前 uglify-to-browserify 11e3a9652a first 8 年之前 uglifyjs-webpack-plugin 11e3a9652a first 8 年之前 union-value 11e3a9652a first 8 年之前 uniq 11e3a9652a first 8 年之前 uniqid 11e3a9652a first 8 年之前 uniqs 11e3a9652a first 8 年之前 unique-filename 11e3a9652a first 8 年之前 unique-slug 11e3a9652a first 8 年之前 unpipe 11e3a9652a first 8 年之前 unset-value 11e3a9652a first 8 年之前 upath 11e3a9652a first 8 年之前 upper-case 11e3a9652a first 8 年之前 uri-js 11e3a9652a first 8 年之前 urix 11e3a9652a first 8 年之前 url 11e3a9652a first 8 年之前 url-loader 11e3a9652a first 8 年之前 url-parse 11e3a9652a first 8 年之前 use 11e3a9652a first 8 年之前 util 11e3a9652a first 8 年之前 util-deprecate 11e3a9652a first 8 年之前 util.promisify 11e3a9652a first 8 年之前 utila 11e3a9652a first 8 年之前 utils-merge 11e3a9652a first 8 年之前 uuid 11e3a9652a first 8 年之前 validate-npm-package-license 11e3a9652a first 8 年之前 vary 11e3a9652a first 8 年之前 vendors 11e3a9652a first 8 年之前 verror 11e3a9652a first 8 年之前 vm-browserify 11e3a9652a first 8 年之前 vue 11e3a9652a first 8 年之前 vue-eslint-parser 11e3a9652a first 8 年之前 vue-hot-reload-api 11e3a9652a first 8 年之前 vue-jest 11e3a9652a first 8 年之前 vue-loader 11e3a9652a first 8 年之前 vue-router 11e3a9652a first 8 年之前 vue-style-loader 11e3a9652a first 8 年之前 vue-template-compiler 11e3a9652a first 8 年之前 vue-template-es2015-compiler 11e3a9652a first 8 年之前 w3c-hr-time 11e3a9652a first 8 年之前 walker 11e3a9652a first 8 年之前 watch 11e3a9652a first 8 年之前 watchpack 11e3a9652a first 8 年之前 wbuf 11e3a9652a first 8 年之前 webidl-conversions 11e3a9652a first 8 年之前 webpack 11e3a9652a first 8 年之前 webpack-bundle-analyzer 11e3a9652a first 8 年之前 webpack-dev-middleware 11e3a9652a first 8 年之前 webpack-dev-server 11e3a9652a first 8 年之前 webpack-merge 11e3a9652a first 8 年之前 webpack-sources 11e3a9652a first 8 年之前 websocket-driver 11e3a9652a first 8 年之前 websocket-extensions 11e3a9652a first 8 年之前 whatwg-encoding 11e3a9652a first 8 年之前 whatwg-mimetype 11e3a9652a first 8 年之前 whatwg-url 11e3a9652a first 8 年之前 whet.extend 11e3a9652a first 8 年之前 which 11e3a9652a first 8 年之前 which-module 11e3a9652a first 8 年之前 wide-align 11e3a9652a first 8 年之前 window-size 11e3a9652a first 8 年之前 wordwrap 11e3a9652a first 8 年之前 worker-farm 11e3a9652a first 8 年之前 wrap-ansi 11e3a9652a first 8 年之前 wrappy 11e3a9652a first 8 年之前 write 11e3a9652a first 8 年之前 write-file-atomic 11e3a9652a first 8 年之前 ws 11e3a9652a first 8 年之前 xml-name-validator 11e3a9652a first 8 年之前 xregexp 11e3a9652a first 8 年之前 xtend 11e3a9652a first 8 年之前 xxhashjs 11e3a9652a first 8 年之前 y18n 11e3a9652a first 8 年之前 yallist 11e3a9652a first 8 年之前 yargs 11e3a9652a first 8 年之前 yargs-parser 11e3a9652a first 8 年之前 yauzl 11e3a9652a first 8 年之前 zrender 11e3a9652a first 8 年之前 adminSystem - Gogs: Go Git Service

暂无描述

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

README.md

Neo-Async

npm Travis Codecov Dependency Status npm

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

$ git clone git@github.com:suguru03/async-benchmark.git
$ cd async-benchmark
$ npm install
$ node . // It might take more than one hour...

Environment

  • Ubuntu v12.04
  • Node.js v6.2.1
  • async v2.0.0-rc.6
  • neo-async v2.0.0-rc.1
  • benchmark v2.1.0
  • func-comparator v0.7.1

Result

Neo-Async is 1.27 ~ 10.7 times faster than Async.

The value is the ratio (Neo-Async/Async) of the average speed.

Collections

function benchmark func-comparator
each 3.71 2.54
eachSeries 2.14 1.90
eachLimit 2.14 1.88
eachOf 3.30 2.50
eachOfSeries 1.97 1.83
eachOfLimit 2.02 1.80
map 4.20 4.11
mapSeries 2.40 3.65
mapLimit 2.64 2.66
mapValues 5.71 5.32
mapValuesSeries 3.82 3.23
mapValuesLimit 3.10 2.38
filter 8.11 8.76
filterSeries 5.79 4.86
filterLimit 4.00 3.32
reject 9.47 9.52
rejectSeries 7.39 4.64
rejectLimit 4.54 3.49
detect 6.67 6.37
detectSeries 3.54 3.73
detectLimit 2.38 2.62
reduce 4.13 3.23
reduceRight 4.23 3.24
transform 5.30 5.17
sortBy 2.24 2.37
some 6.39 6.10
someSeries 5.37 4.66
someLimit 3.39 2.84
every 6.85 6.27
everySeries 4.53 3.90
everyLimit 3.36 2.75
concat 9.18 9.35
concatSeries 7.49 6.09

Control Flow

funciton benchmark func-comparator
parallel 7.54 5.45
series 3.29 2.41
waterfall 5.12 4.27
whilst 1.96 1.95
doWhilst 2.07 1.96
until 2.10 1.99
doUntil 1.98 2.04
during 10.7 7.09
doDuring 5.98 6.03
queue 1.83 1.75
priorityQueue 1.79 1.75
times 3.84 3.65
race 1.45 1.27
auto 3.23 3.50
retry 9.43 6.78