{"library":"fastpriorityqueue","type":"library","category":null,"description":"FastPriorityQueue.js is a high-performance, heap-based priority queue implementation for JavaScript and TypeScript. It provides efficient O(log n) operations for adding and polling elements, and O(1) for peeking the smallest element. The package is currently at version 0.8.0 and maintains an active development status, with recent minor releases addressing bug fixes and performance optimizations. Its primary differentiator is its focus on raw performance, often outperforming other JavaScript priority queue libraries by a significant margin, making it ideal for applications where the speed of data structure operations is critical. It ships with TypeScript types, ensuring a robust developer experience in typed environments.","language":"javascript","status":"active","version":"0.8.0","tags":["javascript","heap","binary heap","data structure","priority queue","performance","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fastpriorityqueue","imports":["import FastPriorityQueue from 'fastpriorityqueue';","const FastPriorityQueue = require('fastpriorityqueue');","import type FastPriorityQueue from 'fastpriorityqueue';"]},{"cmd":"yarn add fastpriorityqueue","imports":[]},{"cmd":"pnpm add fastpriorityqueue","imports":[]}],"homepage":null,"github":"https://github.com/lemire/FastPriorityQueue.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fastpriorityqueue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fastpriorityqueue/compatibility"}}