Registry / messaging / feathers-bee-queue

feathers-bee-queue

JSON →
library2.1.1jsnpmunverified

A Feathers service adapter for Bee-Queue jobs, version 2.1.1. It bridges FeathersJS service interface with Bee-Queue, a Redis-backed job queue. The package follows the Feathers Common database adapter API and querying syntax. Key differentiators: leverages Bee-Queue for job processing, supports custom service events (succeeded, retrying, failed, progress), and pagination. Alternative to Kue, Bull, or Agenda integrations for Feathers. Peer dependency on bee-queue@^1.4.0.

messaging
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

The package does not export a named symbol; use default import via require or import as default.

const queueService = require('feathers-bee-queue');

The module exports a function, but if using destructuring, ensure correct import style.

const { service } = require('feathers-bee-queue');

TypeScript types are not bundled; users must define their own types or rely on Feathers common adapter types.

import type { FeathersBeeQueueService } from 'feathers-bee-queue';

Shows a complete Feathers server setup using feathers-bee-queue, including Redis connection via Bee-Queue.

const feathers = require('@feathersjs/feathers'); const queueService = require('feathers-bee-queue'); const Queue = require('bee-queue'); const app = feathers(); const queue = new Queue('my-queue', { redis: { host: process.env.REDIS_HOST || 'localhost', port: parseInt(process.env.REDIS_PORT || '6379', 10) } }); app.use('/jobs', queueService({ queue, events: ['succeeded', 'failed'] })); app.listen(3030).then(() => console.log('Feathers server listening on port 3030'));
Debug
Known footguns
breakingKnown breaking changes: v2.0.0 switched to CommonJS and removed support for Feathers v3 (pre-v4). Ensure Feathers v4+.
deprecatedThe package has not been updated in over 4 years. No activity since 2020.
gotchaImplements Feathers Common adapter API but does not support all query operators. Only limited querying is available.
gotchaBee-queue dependency: bee-queue@^1.4.0 might conflict with newer Redis versions due to outdated ioredis version.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
14 hits · last 30 days
gptbot
3
bytedance
2
Resources