Introducing OqronKit

Background jobs
for Node.js

Queues, workers, schedulers, caching, and pub/sub — built on a shared adapter layer so you can start in memory and move to Redis or Postgres when you're ready.

$npm install oqronkit
pubsub order-events[3] offset 2048 published
Quick Start

Get started in minutes

Define queues, workers, and schedules with typed factory functions. OqronKit discovers your triggers automatically and handles the rest.

Crash-safe

Heartbeat locks ensure no job is ever lost, even during a process crash.

Automatic retries

Configurable retry policies with exponential backoff and dead letter queues.

Zero config scaling

Swap adapter from memory to Redis — instant distributed processing.

Read the full tutorial
import { queue } from 'oqronkit'
 
export const emailQ = queue({
name: 'send-email',
guaranteedWorker: true,
handler: async (ctx) => {
await sendEmail(ctx.data)
return { sent: true }
},
})
 
await emailQ.add({ to: 'user@ex.com' })
TypeScript
OqronKit