# parallel-throttle

> throttle tasks with parallel limitaion

Latest version **1.0.1** (published 2018-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install parallel-throttle
pnpm add parallel-throttle
yarn add parallel-throttle
bun add parallel-throttle
```

## 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 | 2018-04-27 |
| First published | 2017-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zhaoyao91 |
| Maintainers | zhaoyao91 |
| Keywords | throttle, parallel, promise |

## Links

- npm: https://www.npmjs.com/package/parallel-throttle
- Repository: https://github.com/zhaoyao91/parallel-throttle
- Homepage: https://github.com/zhaoyao91/parallel-throttle#readme
- Issues: https://github.com/zhaoyao91/parallel-throttle/issues
- npm.io page: https://npm.io/package/parallel-throttle

## 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) — 2018-04-27
- 1.0.0 — 2017-11-10

## README

# Parallel Throttle

> Throttle async task with parallel limitation.

## Deprecation

**This package is deprecated to prefer the new [runs-limit-func](https://github.com/zhaoyao91/runs-limit-func) package.**

## Installation

```
npm i parallel-throttle
```

## Usage

```ecmascript 6
const ParallelThrottle = require('parallel-throttle')

// every task is an async function without any argument
const tasks = [...]

const throttle = new ParallelThrottle({maxTasksInParallel: 100})

tasks.forEach(task => {
  throttle.add(task).then(...).catch(...)
})
```

## License

MIT

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