2.6.2 • Published 4 years ago

neo-async v2.6.2

Weekly downloads
15,447,326
License
MIT
Repository
github
Last release
4 years ago

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

functionbenchmark
each/forEach2.43
eachSeries/forEachSeries1.75
eachLimit/forEachLimit1.68
eachOf3.29
eachOfSeries1.50
eachOfLimit1.59
map3.95
mapSeries1.81
mapLimit1.27
mapValues2.73
mapValuesSeries1.59
mapValuesLimit1.23
filter3.00
filterSeries1.74
filterLimit1.17
reject4.59
rejectSeries2.31
rejectLimit1.58
detect4.30
detectSeries1.86
detectLimit1.32
reduce1.82
transform2.46
sortBy4.08
some2.19
someSeries1.83
someLimit1.32
every2.09
everySeries1.84
everyLimit1.35
concat3.79
concatSeries4.45

Control Flow

funcitonbenchmark
parallel2.93
series1.96
waterfall1.29
whilst1.00
doWhilst1.12
until1.12
doUntil1.12
during1.18
doDuring2.42
times4.25
auto1.97

License

FOSSA Status

webpacksass-loaderhandlebarsthread-loaderjscodeshiftcache-loaderfree-minarchetype-librarycomponennentteasy-select-rnvuedragdropuploadimagespopsmart-common-authreact-native-bluetooth2killi8n-react-native-fast-imagegew-nodejs-api-client@arisageha/react-lazyload@arisageha/react-lazyload-fix@ianiket/react-native-docgennext-sheertex@ianiket/rn-docgenplugin-batch-cyf-syfdata-module-cyfcq-batchairscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjamesreact-native-covid-sdkgql_din_modbitget@jttechnic/interpreter@l1nyanm1ng/react-picture-viewercthpb-plugin-socialreact-native-printer-brotherscbmis-ai-toolbox@newhorizon-tech/dd-npm-package-templatereact-native-shekhar-bridge-testcogoportutilsdyx-reactlevibestliblevibestlib2levilibtest19levilibtest24levilibtest25levilibtest26levilibtest27levilibtest28levilibtest29wilscanner@oiti/documentoscopy-react-nativejs4cytoscape@mink-opn/build-tokensquoc-testreact-native-slider-kfunblock-block-save-variables@infinitebrahmanuniverse/nolb-neo@codepen/wwwebpackcclibyarntest@saaspe/componentshyperpass-sdkluminos-ui-coresklif-ui-kitsklif-api@everything-registry/sub-chunk-2255jawwy-sdkjawwy_gamification_release@314oner_npm/universal-components-library@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgondp149-table@rabailriaz/hisaab-web-portalsklif-uireact-native-jawwy_samplezoro-postcss-cliweb-yii2web-elements-iconsvue-router-generatorvue-button-test1webchewebdatabasetest1webdatabasetest10webdesa-laravel-final-releasewebpack-4-modern-acornwebpack-4.17.1webpaaoockwebpack-debuggerwebpack-butternut-pluginwebpack-md5
2.6.2

4 years ago

2.6.1

5 years ago

2.6.0

6 years ago

2.5.2

6 years ago

2.5.1

6 years ago

2.5.0

7 years ago

2.4.0

7 years ago

2.4.0-0

7 years ago

2.3.0

7 years ago

2.2.2

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

2.0.0-rc.1

8 years ago

1.8.2

8 years ago

1.8.1

8 years ago

1.8.0

8 years ago

1.7.5

8 years ago

1.7.4

8 years ago

1.7.3

8 years ago

1.7.2

8 years ago

1.7.1

8 years ago

1.7.0

8 years ago

1.6.0

9 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.2

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

0.6.5

9 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.9

9 years ago

0.4.8

9 years ago

0.4.7

9 years ago

0.4.6

9 years ago

0.4.5

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.11

9 years ago

0.2.10

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago