✨
Fluent API
Inspired by Laravel queues, Lavoro brings TypeScript-first API that is a joy to use
Fluent, type-safe API & support for multiple drivers

import { Job } from '@lavoro/core'
export class Inspire extends Job {
async handle(payload: { quote: string }): Promise<void> {
logger.info(payload.quote)
}
}const queue = new Queue(queueConfig)
Job.setDefaultQueueServiceResolver(() => queue)
await queue.start()await Schedule.job(Inspire, {
quote: 'Done is better than perfect',
}).every('five seconds')... without running a separate worker process and manually coordinating job scheduling?
Lavoro makes this a breeze.
First, install the queue drivers:
npm install @lavoro/memory @lavoro/postgresThen, follow an easy quick start guide to get started.
Or if you're curious about the design philosophy behind Lavoro and how it is different, check out the motivation section of the introduction.