# bullmq-fixed

> Queue for messages and jobs based on Redis

Latest version **1.23.1** (published 2021-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install bullmq-fixed
pnpm add bullmq-fixed
yarn add bullmq-fixed
bun add bullmq-fixed
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.23.1 |
| Published | 2021-05-04 |
| First published | 2021-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 318.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 9441 |
| Author | Taskforce.sh Inc. |
| Maintainers | iam4x |

## Links

- npm: https://www.npmjs.com/package/bullmq-fixed
- Repository: https://github.com/taskforcesh/bullmq
- Homepage: https://github.com/taskforcesh/bullmq#readme
- Issues: https://github.com/taskforcesh/bullmq/issues
- npm.io page: https://npm.io/package/bullmq-fixed

## Dependencies (8)

- [uuid](https://npm.io/package/uuid.md) ^8.2.0
- [tslib](https://npm.io/package/tslib.md) ^1.10.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [semver](https://npm.io/package/semver.md) ^6.3.0
- [ioredis](https://npm.io/package/ioredis.md) ^4.25.0
- [get-port](https://npm.io/package/get-port.md) ^5.0.0
- [cron-parser](https://npm.io/package/cron-parser.md) ^2.7.3
- [@types/ioredis](https://npm.io/package/@types/ioredis.md) ^4.22.2

## Recent versions

- 1.23.1 (latest) — 2021-05-04

## README

<div align="center">
  <br/>
  <img src="https://user-images.githubusercontent.com/95200/64285204-99c04900-cf5b-11e9-925c-4743006ce420.png" width="300" />
  <br/>
  <br/>
  <p>
    The fastest, most reliable, Redis-based distributed queue for Node. <br/>
    Carefully written for rock solid stability and atomicity.
  </p>
  Read the <a href="https://docs.bullmq.io">documentation</a>
  <br/>
  <br/>
  <p>
    <a href="https://gitter.im/OptimalBits/bull">
      <img src="https://badges.gitter.im/Join%20Chat.svg"/>
    </a>
    <a href="https://travis-ci.org/taskforcesh/bullmq">
      <img src="https://img.shields.io/travis/OptimalBits/bull/master.svg"/>
    </a>
    <a href="https://badge.fury.io/js/bullmq">
      <img src="https://badge.fury.io/js/bullmq.svg"/>
    </a>
    <a href="https://coveralls.io/github/taskforcesh/bullmq?branch=master">
      <img src="https://coveralls.io/repos/github/taskforcesh/bullmq/badge.svg?branch=master"/>
    </a>
  </p>
  <p>
    <em>Follow <a href="https://twitter.com/manast">@manast</a> for *important* Bull/BullMQ news and updates!</em>
  </p>
</div>

# NEW! Tutorials

You can find tutorials and news in this blog: https://blog.taskforce.sh/

# Official FrontEnd

[<img src="http://taskforce.sh/assets/logo_square.png" width="100" alt="Taskforce.sh, Inc" style="padding: 100px"/>](https://taskforce.sh)

Supercharge your queues with a profesional front end and optional Redis hosting:
- Get a complete overview of all your queues.
- Inspect jobs, search, retry, or promote delayed jobs.
- Metrics and statistics.
- and many more features.

Sign up at [Taskforce.sh](https://taskforce.sh)

# The gist

Install:

```
$ yarn add bullmq
```

Add jobs to the queue:

```ts
import { Queue } from 'bullmq';

const queue = new Queue('Paint');

queue.add('cars', { color: 'blue' });
```

Process the jobs in your workers:

```ts
import { Worker } from 'bullmq';

const worker = new Worker('Paint', async job => {
  if (job.name === 'cars') {
    await paintCar(job.data.color);
  }
});
```

Listen to jobs for completion:

```ts
import { QueueEvents } from 'bullmq';

const queueEvents = new QueueEvents('Paint');

queueEvents.on('completed', jobId => {
  console.log('done painting');
});

queueEvents.on('failed', (jobId, err) => {
  console.error('error painting', err);
});
```

This is just scratching the surface, check all the features and more in the official <a href="https://docs.bullmq.io">documentation</a>

# Thanks

Thanks for all the contributors that made this library possible,
also a special mention to Leon van Kammen that kindly donated
his npm bullmq repo.

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