Queue-ast-hop is a static analysis tool (v0.6.0) that builds a dependency graph for BullMQ and glide-mq job queues. It traces producer-to-worker hops through virtual queueFile#job nodes, enabling impact analysis for changed files across async job boundaries. The package provides CLI commands (edges, related, check) and integrates with monorepo tooling. It is released as a dev dependency, with no runtime deps beyond Node. Differentiator: unlike runtime queue monitoring, it parses static call sites (addJob, Worker, etc.) to produce Acyclic Directed Graph (ADG) edges without requiring a live Redis or queue instance.
npm install queue-ast-hopNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows programmatic usage: analyzing queue dependencies, writing graph to JSON, and error handling.
Use ES module import syntax; set type: module in package.json or use .mjs extension.
Replace 'analyzeQueueFile' calls with 'queueAstHop'.
Manually install either 'bullmq' or 'glide-mq' before running npx queue-ast-hop edges.
Ensure you have a default export of your queue instance (e.g., export default new Queue('myqueue')).Use import { queueAstHop } from 'queue-ast-hop' or upgrade to Node >= 16 with type: module.npm install bullmq --save-dev or npm install glide-mq --save-dev
Ensure the file exports default: export default new Queue('queueName').No dependency data recorded yet.