priority-queue-ts

JSON →
library 0.4.1 ·javascript
verified Jun 7, 2026

A simple priority queue data structure for Node.js and the browser written in TypeScript. Current stable version is 0.4.1. It provides MinPriorityQueue and MaxPriorityQueue implementations with a QueueItem base class for extending with custom properties. The library is minimal and type-safe, but lacks features like custom comparator functions, iteration, or bulk operations found in more mature alternatives. Release cadence is low, with limited recent activity.