# async-collection

> Collection of async functions

Latest version **1.0.1** (published 2017-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install async-collection
pnpm add async-collection
yarn add async-collection
bun add async-collection
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-07-14 |
| First published | 2017-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | yoshuawuyts |
| Keywords | async, series, parallel, map |

## Links

- npm: https://www.npmjs.com/package/async-collection
- Repository: https://github.com/yoshuawuyts/async-collection
- Homepage: https://github.com/yoshuawuyts/async-collection#readme
- Issues: https://github.com/yoshuawuyts/async-collection/issues
- npm.io page: https://npm.io/package/async-collection

## Dependencies (5)

- [map-limit](https://npm.io/package/map-limit.md) 0.0.1
- [run-series](https://npm.io/package/run-series.md) ^1.1.4
- [run-parallel](https://npm.io/package/run-parallel.md) ^1.1.6
- [run-waterfall](https://npm.io/package/run-waterfall.md) ^1.1.3
- [run-parallel-limit](https://npm.io/package/run-parallel-limit.md) ^1.0.3

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-07-14
- 1.0.0 — 2017-07-14

## README

# async-collection [![stability][0]][1]
[![npm version][2]][3] [![build status][4]][5]
[![downloads][8]][9] [![js-standard-style][10]][11]

Collection of async functions

## Usage
```js
// require the whole module
var async = require('async-collection')

// require an invidiual method
var parallel = require('async-collection/parallel')
```

## API
### `async.waterfall(arr, cb)`
Run an array of functions in series, each passing its results to the next
function. Uses [run-waterfall](https://github.com/feross/run-waterfall).

### `async.series(arr, cb)`
Run an array of functions in series. Uses
[run-series](https://github.com/feross/run-series).

### `async.parallel(arr, cb)`
Run an array of functions in parallel. Uses
[run-parallel](https://github.com/feross/run-parallel).

### `async.parallelLimit(arr, cb)`
Run an array of functions in parallel, but limit the number of tasks executing
at the same time. Uses
[parallel-limit](https://github.com/feross/run-parallel-limit).

### `async.mapLimit(arr, limit, iterator, cb)`
Map over an array of data and call them, but limit the number of tasks
executing at the same time. Uses
[map-limit](https://github.com/hughsk/map-limit).

## License
[MIT](https://tldrlegal.com/license/mit-license)

[0]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
[2]: https://img.shields.io/npm/v/async-collection.svg?style=flat-square
[3]: https://npmjs.org/package/async-collection
[4]: https://img.shields.io/travis/yoshuawuyts/async-collection/master.svg?style=flat-square
[5]: https://travis-ci.org/yoshuawuyts/async-collection
[6]: https://img.shields.io/codecov/c/github/yoshuawuyts/async-collection/master.svg?style=flat-square
[7]: https://codecov.io/github/yoshuawuyts/async-collection
[8]: http://img.shields.io/npm/dm/async-collection.svg?style=flat-square
[9]: https://npmjs.org/package/async-collection
[10]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[11]: https://github.com/feross/standard

---
_Source: https://npm.io/package/async-collection · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
