{"library":"priorityqueuejs","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","heap","priority","queue","priority queue","data structure"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install priorityqueuejs","imports":["var PriorityQueue = require('priorityqueuejs');","PriorityQueue.DEFAULT_COMPARATOR","var q = new PriorityQueue(function(a, b) { return a - b; });"]},{"cmd":"yarn add priorityqueuejs","imports":[]},{"cmd":"pnpm add priorityqueuejs","imports":[]}],"homepage":"https://github.com/janogonzalez/priorityqueuejs#readme","github":"git://github.com/janogonzalez/priorityqueuejs","docs":null,"changelog":null,"pypi":null,"npm":"priorityqueuejs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}