C

bull/bullmq

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod provides straightforward changes to migrate from bull to bullmq.
You have to manually create queue names for the existing queues in your application.
You need to apply these names for the created workers in the files which previously used .process().
You will have to manually specify connection details if you used createClient method on new Queue() options before. Connection details should now also be specified for and Worker classes.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.