# q-map-throttle

> A utility for throttling Q promises created using map()

Latest version **1.2.0** (published 2023-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install q-map-throttle
pnpm add q-map-throttle
yarn add q-map-throttle
bun add q-map-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.2.0 |
| Published | 2023-05-04 |
| First published | 2023-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 775.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Fejiro Gospel |
| Maintainers | fejirogospel |
| Keywords | qmap, q-map |

## Links

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

## Dependencies (6)

- [q](https://npm.io/package/q.md) ^1.5.1
- [async](https://npm.io/package/async.md) ^3.2.4
- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.21.5
- [underscore](https://npm.io/package/underscore.md) ^1.13.6
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.21.8
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.21.5

## Recent versions

- 1.2.0 (latest) — 2023-05-04
- 1.1.0 — 2023-05-04
- 1.0.0 — 2023-05-04

## README

# q-map-throttle
A utility for throttling Q promises created using map()


```javascript
import Q from 'q';
import { map } from 'q-map-throttle';

Q.map = map

const myArray = [1,2,3,4,5,6,7,8]

// Limits promise concurrency to 3
Q.map(myArray, function(element) {
    return promiseFactory(element)
}, 3)
    .then(function(resolvedArray) {
        doSomething()
    })
```

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