{"library":"shuffled-priority-queue","type":"library","category":null,"description":"A priority queue that shuffles elements with the same priority. Current stable version is 2.1.0. The package is lightweight and provides a simple API for adding, removing, shifting, popping, and iterating over items. It is suitable for scenarios where elements of equal priority should be processed in a random order, such as load balancing or fair scheduling. The package is actively maintained and has no external dependencies.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install shuffled-priority-queue","imports":["const spq = require('shuffled-priority-queue')","const queue = spq()","const queue = require('shuffled-priority-queue')()"]},{"cmd":"yarn add shuffled-priority-queue","imports":[]},{"cmd":"pnpm add shuffled-priority-queue","imports":[]}],"homepage":"https://github.com/mafintosh/shuffled-priority-queue","github":"https://github.com/mafintosh/shuffled-priority-queue","docs":null,"changelog":null,"pypi":null,"npm":"shuffled-priority-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}