{"library":"qheap","type":"library","category":null,"description":"qheap is a fast binary heap / priority queue library for Node.js (v1.4.0, stable, low release cadence). It supports insert, remove, peek, and heap operations with O(log n) complexity. Compared to alternatives like fastpriorityqueue, qheap offers good performance and a simple API. Primary use cases include scheduling, event loops, and Graph algorithms. The package is pure JavaScript without native bindings, making it portable across platforms.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript","Andras","binary","heap","priority queue"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install qheap","imports":["const Heap = require('qheap');","const h = new Heap({ compar: myCompar });","const h = new Heap(myCompar);"]},{"cmd":"yarn add qheap","imports":[]},{"cmd":"pnpm add qheap","imports":[]}],"homepage":"https://github.com/andrasq/node-qheap#readme","github":"git://github.com/andrasq/node-qheap","docs":null,"changelog":null,"pypi":null,"npm":"qheap","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}