{"library":"js-queue","type":"library","category":null,"description":"js-queue provides a straightforward JavaScript queue implementation for both Node.js and browser environments, featuring an 'auto-run' capability where the queue processes new items as they are added, provided it's not explicitly stopped. The current stable version is 2.0.2, with releases appearing to be made as needed for updates and fixes, rather than a strict cadence. A key differentiator is its simplicity and explicit support for both CommonJS environments (Node.js, Webpack, Browserify) and vanilla browser usage. Additionally, since version 2.0.0, it exposes an ES6-based Last In First Out (LIFO) stack via `js-queue/stack.js`, offering an alternative data structure with a similar interface, useful for different application needs.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","queue","node","js","auto","run","execute","browser","react"],"last_verified":"Wed May 27","install":[{"cmd":"npm install js-queue","imports":["const Queue = require('js-queue');","const Stack = require('js-queue/stack.js');","const queue = new Queue();"]},{"cmd":"yarn add js-queue","imports":[]},{"cmd":"pnpm add js-queue","imports":[]}],"homepage":null,"github":"https://github.com/RIAEvangelist/js-queue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/js-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/js-queue/compatibility"}}