{"library":"ts-task-queue","type":"library","category":null,"description":"ts-task-queue is a TypeScript library for creating and managing task queues with a pool of worker threads. Version 2.0.0 provides a simple API based on the `Queue` class, supporting typed task input/output, customizable worker count (default 4), error handling, and multiple queues. It leverages Node.js worker threads for parallel execution and requires the `isMainThread()` guard to separate main and worker code. Unlike generic job queues, it focuses on lightweight in-process threading with TypeScript-first design. The package ships with TypeScript types and is ESM-compatible.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ts-task-queue","imports":["import { Queue } from 'ts-task-queue'","import { Queue } from 'ts-task-queue'","import { Queue } from 'ts-task-queue'"]},{"cmd":"yarn add ts-task-queue","imports":[]},{"cmd":"pnpm add ts-task-queue","imports":[]}],"homepage":"https://github.com/StatelessStudio/ts-task-queue#readme","github":"https://github.com/StatelessStudio/ts-task-queue","docs":null,"changelog":null,"pypi":null,"npm":"ts-task-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}