All 26 Dependencies

Every package bunqueue depends on, ranked by repo health score.

bunqueue is a TypeScript-first job queue built exclusively for the Bun runtime, replacing Redis-backed systems like BullMQ with a self-contained server that uses Bun's native SQLite for persistence. It ships as a single npm install weighing just 5.4 MB with only two runtime dependencies — croner for cron expressions and msgpackr for binary serialization — making it dramatically lighter than traditional queue libraries that drag in Redis clients and their dependency trees.

The library offers two primary usage modes. In Simple Mode, a single `Bunqueue` object combines a `Queue` and `Worker` in one place — ideal for producers and consumers in the same process. In distributed scenarios, `Queue` and `Worker` can be used independently over a TCP transport, with a binary protocol that allows external processes or microservices to submit and consume jobs. The server boots with a full REST API and WebSocket dashboard out of the box.

bunqueue ships a native Model Context Protocol (MCP) server, meaning AI agents running in Claude, Cursor, or any MCP-compatible host can enqueue jobs, inspect queue state, manage cron schedules, and interact with the dead-letter queue using natural language — no code required. This makes bunqueue uniquely suited for agentic AI workflows where automated systems need to schedule and track background work.

The library includes an extensive set of production-grade features: five retry strategies (fixed, exponential, jitter, fibonacci, custom), a three-state circuit breaker, batch accumulation, job TTL, priority aging to prevent starvation, deduplication, debouncing, per-queue and per-group rate limiting, event triggers for chaining jobs, a dead-letter queue with auto-retry, cron scheduling with timezone support, S3-compatible backups (AWS, Cloudflare R2, MinIO), Prometheus metrics export, a built-in workflow engine with compensation (saga pattern), and TLS support for encrypted TCP connections.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search