{"library":"bucket-priority-queue","type":"library","category":null,"description":"A TypeScript implementation of the bucket queue data structure, optimized for priority-based item management when the priority key space consists of small positive integers. Version 2.1.0 is the latest stable release, actively maintained. It offers extremely fast enqueue and dequeue operations, outperforming heap-based priority queues in benchmarks, making it ideal for algorithms like Dijkstra's. Ships with full TypeScript type definitions and supports both min and max bucket queues.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","bucket","queue","priority","priority-queue","data-structure","data-structures","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install bucket-priority-queue","imports":["import { MinBucketQueue } from 'bucket-priority-queue'","import { MaxBucketQueue } from 'bucket-priority-queue'","import type { Priority } from 'bucket-priority-queue'"]},{"cmd":"yarn add bucket-priority-queue","imports":[]},{"cmd":"pnpm add bucket-priority-queue","imports":[]}],"homepage":"https://github.com/keriati/bucket-priority-queue","github":"https://github.com/keriati/bucket-priority-queue","docs":null,"changelog":null,"pypi":null,"npm":"bucket-priority-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}