# seed-queue

> FIFO queue for node and browser

Latest version **2.1.1** (published 2015-10-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install seed-queue
pnpm add seed-queue
yarn add seed-queue
bun add seed-queue
```

## 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 | 2.1.1 |
| Published | 2015-10-20 |
| First published | 2015-09-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vladimir Popov |
| Maintainers | rusintez |
| Keywords | queue, fifo |

## Links

- npm: https://www.npmjs.com/package/seed-queue
- Repository: git@github.com:rusintez/queue
- Homepage: https://github.com/rusintez/queue
- Issues: https://github.com/rusintez/queue/issues
- npm.io page: https://npm.io/package/seed-queue

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 2.1.1 (latest) — 2015-10-20
- 2.1.0 — 2015-10-08
- 2.0.0 — 2015-09-02

## README

# queue

[![wercker status](https://app.wercker.com/status/7aa55ee6d0f0ecc0ab21220d2d2eb2d3/m "wercker status")](https://app.wercker.com/project/bykey/7aa55ee6d0f0ecc0ab21220d2d2eb2d3)

FIFO queue for node and browser

### Example

    Queue()
      .add(function(next){ console.log(1); next(); })
      .add(function(next){ console.log(2); next(); })
      .add(function(next){ console.log(3); next(); })
      .end(function(error){ console.log(error, 'finish'); }); // -> 1 ; 2 ; 3 ; undefined, 'finish'
    

    var q = new Queue();
    q.add(function(next){ setInterval(function(){ next(); }, 1000); });
    q.end(function(error){}); // -> will throw an error, after 2000ms (on second tick)
    
    var q = new Queue(4, 2);
    q.add(function(n, m, next) { console.log(n,m); });
    q.end(function(){}); // -> 4, 2
    
### Author

Vladimir Popov <rusintez@gmail.com>

### License

MIT

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