ymlr-redis is a plugin for the ymlr platform that provides Redis connector functionality including pub/sub messaging, job queues via BullMQ, and channel subscription management. It is currently at version 1.2.2-alpha.7, built on top of ioredis and BullMQ. The package ships TypeScript types. It is designed to be used within ymlr YAML-based workflows, offering a declarative way to interact with Redis without writing imperative code. Key differentiators: integration with ymlr's workflow engine, declarative job queue management, and pub/sub patterns.
npm install ymlr-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import the plugin, define a YAML workflow that connects to Redis and publishes a message, then execute it.
Use import syntax or dynamic import().
Install bullmq package: npm install bullmq.
Ensure queue options match BullMQ documentation exactly.
Rename 'opts' to 'redisOptions'.
Set 'detach: false' to keep connection for reuse.
Use import instead, or set type: 'module' in package.json and use .mjs extension.
Ensure ymlr-redis block is declared with 'detach: false' before using it in other blocks.
Consult BullMQ documentation for valid QueueOptions and WorkerOptions.