{"library":"sb-promise-queue","type":"library","category":null,"description":"sb-promise-queue is a lightweight JavaScript/TypeScript utility library designed to manage and control the concurrency of asynchronous operations using a promise-based queue. Its current stable version is 2.1.1. It allows developers to specify a maximum number of promises that can run simultaneously, preventing resource exhaustion or rate-limiting issues. Key differentiators include its minimalistic and intuitive API, built-in TypeScript type definitions for enhanced developer experience, and clear methods such as `add`, `onIdle`, and `waitTillIdle` for effective task flow management. This library is particularly useful for scenarios requiring controlled execution of potentially resource-intensive async tasks, like API calls or data processing, ensuring stability and performance. While a specific release cadence is not explicitly stated, as a focused utility, updates are generally driven by bug fixes or minor enhancements rather than frequent feature additions.","language":"javascript","status":"active","version":"2.1.1","tags":["javascript","Promise","queue","typescript"],"install":[{"cmd":"npm install sb-promise-queue","imports":["import { PromiseQueue } from 'sb-promise-queue';","import { type Options, PromiseQueue } from 'sb-promise-queue';","const { PromiseQueue } = require('sb-promise-queue');"]},{"cmd":"yarn add sb-promise-queue","imports":[]},{"cmd":"pnpm add sb-promise-queue","imports":[]}],"homepage":null,"github":"https://github.com/steelbrain/promise-queue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/sb-promise-queue","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/sb-promise-queue/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}