{"library":"faktory-worker","type":"library","category":null,"description":"Faktory-worker is a robust Node.js client and worker library designed to integrate with the Faktory job server, enabling asynchronous background job processing within Node.js applications. It provides both a client for pushing jobs to the Faktory server and a worker for fetching and executing those jobs. The current stable version is 4.7.1, with an active development cadence indicated by recent minor releases introducing features like weighted-random queue fetching (v4.4.0) and CLI improvements (v4.5.0). Its key differentiators include comprehensive handling of Faktory job payloads, support for bulk job pushing, flexible queue configuration (including strictly ordered and weighted random processing), and graceful shutdown mechanisms for workers. The library requires Node.js >=16 and is compatible with Faktory server versions greater than 1.6.1. It also ships with TypeScript types, facilitating its use in modern TypeScript projects.","language":"javascript","status":"active","version":"4.7.1","tags":["javascript","faktory","client","node","server","job","background","async","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install faktory-worker","imports":["import { connect } from 'faktory-worker';","import { register } from 'faktory-worker';","import { work } from 'faktory-worker';","import { Client } from 'faktory-worker';"]},{"cmd":"yarn add faktory-worker","imports":[]},{"cmd":"pnpm add faktory-worker","imports":[]}],"homepage":"https://contribsys.com/faktory/","github":"https://github.com/jbielick/faktory_worker_node","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/faktory-worker","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/faktory-worker/compatibility"}}