heap-js v2.7.1

npm

Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.

Updated View on npm →
Version
2.7.1
15d ago
License
BSD-3-Clause
15d ago
Weekly Downloads
4.2M
2d ago
Dependencies
0
15d ago
Required Runtime
>=10.0.0
15d ago
Deprecated
No
15d ago

Weekly downloads

Release activity

1 release tracked. Last release: 15 days ago.

v2.7.1 current
v2.7.1 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 4230467 2d ago
dep_count (none) 0 15d ago
latest_version (none) 2.7.1 15d ago
license (none) BSD-3-Clause 15d ago
deprecated (none) false 15d ago
required_runtime (none) >=10.0.0 15d ago

Use it

REST API
$ curl
https://api.grounded-api.dev/v1/npm/heap-js/latest_version
{ "value": "2.7.1" }
CLI
$ npx grounded-cli heap-js
heap-js@2.7.1 (npm)