priorityqueuejs
JSON →A simple priority queue (binary heap) implementation for Node.js and browsers. Stable version 2.0.0 (latest release); no longer actively developed but functional. It provides a straightforward API with custom comparator support and default comparator for numbers/strings. Differentiator: minimalistic, no dependencies, suitable for small projects. However, it lacks TypeScript types and modern ESM support, and the stable API has been unchanged for years.
Resources
packagepriorityqueuejs ↗