A Priority Queue implementation with O(1) lookups for lookup by value.
github.com/panyam/priorityq-ts
panyam/priorityq-ts