closure-heap
This is an implementation of a Heap datastructure. Smaller keys rise to the top.
This implementation is extracted from the Google Closure Library.
Usage
const Heap = const h = hhh console// => goat
See the Closure docs (or take a look at the source) for additional documentation.