{"library":"run-queue","type":"library","category":null,"description":"A promise-based, dynamic priority queue runner with concurrency limiting for Node.js. Version 2.0.1 is stable but receives only sporadic maintenance. It allows adding jobs with integer priorities, ensures that all jobs of a lower priority complete before higher priorities execute, and dynamically switches back to lower priorities if new jobs are added. Supports configurable concurrency (default 1) and custom Promise implementations. Lightweight with no runtime dependencies.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install run-queue","imports":["const RunQueue = require('run-queue')","import pkg from 'run-queue'; const RunQueue = pkg; // or const { RunQueue } = require('run-queue')","const { add, run } = require('run-queue'); // No, RunQueue is a class"]},{"cmd":"yarn add run-queue","imports":[]},{"cmd":"pnpm add run-queue","imports":[]}],"homepage":"https://npmjs.com/package/run-queue","github":"https://github.com/iarna/run-queue","docs":null,"changelog":null,"pypi":null,"npm":"run-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}