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
70d ago
License
BSD-3-Clause
70d ago
Weekly Downloads
4.2M
57d ago
Dependencies
0
70d ago
Required Runtime
>=10.0.0
70d ago
Deprecated
No
70d ago

Weekly downloads

Release activity

1 release tracked. Last release: 70 days ago.

v2.7.1 current
v2.7.1 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 4230467 57d ago
dep_count (none) 0 70d ago
latest_version (none) 2.7.1 70d ago
license (none) BSD-3-Clause 70d ago
deprecated (none) false 70d ago
required_runtime (none) >=10.0.0 70d 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)