{"library":"pg-boss","type":"library","category":null,"description":"pg-boss is a PostgreSQL-based job queue for Node.js providing exactly-once delivery, backpressure-compatible polling, cron scheduling, dead letter queues, priority queues, and automatic retries with exponential backoff. It uses PostgreSQL's SKIP LOCKED to guarantee atomic commits and can create jobs within existing database transactions. Ships TypeScript types, supports multi-master deployments (e.g., Kubernetes ReplicaSet), serverless functions, and CLI for migrations. Version 12.18.2 requires Node >=22.12.0. Key differentiators: SQL-based operations, ORM transaction adapters (Knex, Kysely, Prisma), and pub/sub API for fan-out patterns.","language":"javascript","status":"active","version":"12.18.2","tags":["javascript","postgresql","postgres","queue","job","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-boss","imports":["import { PgBoss } from 'pg-boss'","import { fromKnex } from 'pg-boss'","import type { WorkHandler } from 'pg-boss'"]},{"cmd":"yarn add pg-boss","imports":[]},{"cmd":"pnpm add pg-boss","imports":[]}],"homepage":"https://timgit.github.io/pg-boss","github":"https://github.com/timgit/pg-boss","docs":null,"changelog":null,"pypi":null,"npm":"pg-boss","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}