# runq

> Run a queue of functions sequentially

Latest version **1.1.2** (published 2018-01-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install runq
pnpm add runq
yarn add runq
bun add runq
```

## 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.1.2 |
| Published | 2018-01-14 |
| First published | 2016-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Joe Hitchens |
| Maintainers | sleeplessinc |

## Links

- npm: https://www.npmjs.com/package/runq
- npm.io page: https://npm.io/package/runq

## Recent versions

- 1.1.2 (latest) — 2018-01-14
- 1.1.0 — 2016-12-01
- 1.0.0 — 2016-12-01

## README

# runq

Run a queue of functions sequentially.


## Install

	npm install runq


## Usage

	runq = require("runq");

	runq()
	.add(function(cb, a) {
		cb(null, a + 1);
	})
	.add(function(cb, a) {
		cb(null, a + 1);
	})
	.run(function(err, r) {
		// all done
		if(err) {
			// ...
		}
		else {
			console.log(a);		// 3
		}
	}, 1)

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