Firebase Queue is a fault-tolerant, multi-worker, multi-stage job pipeline built on the Firebase Realtime Database. The current stable version is 1.6.1, with a low release cadence (last release in 2016). It allows you to define job processing functions that run in workers, automatically handling task lifecycle (reserved, started, finished, error). Key differentiators: direct integration with Firebase RTDB, no external message broker needed; supports multiple workers and stages; focuses on reliability with automatic retries and error handling. Alternatives like Bull or Kue require Redis. Note: this library is no longer actively maintained; users are advised to migrate to Google Cloud Tasks or Pub/Sub.
npm install firebase-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a queue, defining a task processor, and adding a task to the queue using Firebase Realtime Database.
Migrate to Google Cloud Tasks or Pub/Sub for job queue functionality.
Install firebase@2.x as peer dependency: npm install firebase@2 firebase-queue
Implement idempotent tasks and use progress() to checkpoint intermediate results.
Pass a Firebase reference to the queue path: var queue = new Queue(firebaseRef, options);
Run 'npm install firebase-queue --save' from the project root.