priorityqueue
JSON →PriorityQueue is a TypeScript-friendly JavaScript library implementing priority queues with multiple heap variants (BinaryHeap, PairingHeap, SkewHeap). Version 2.1.0 is current; updates are occasional. Key differentiators: supports custom comparators, offers three heap implementations with different performance trade-offs (BinaryHeap for general use, PairingHeap and SkewHeap for fast merge operations), exports ESM and includes TypeScript definitions. Suitable for algorithmic tasks, scheduling, and graph algorithms.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 1 distinct systems
last hit 21d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇵🇰 Pakistan
Resources
packagepriorityqueue ↗