npm · npm:heap-js
heap-js active
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.
The latest stable version of heap-js is 2.7.1, published on 2025-09-30. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.7.1 |
|---|---|
| Published | 2025-09-30 11:34:14 UTC |
| Install | npm install heap-js@latest |
| Requires (engines) | {"node":">=10.0.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.7.1 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:12:09 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "heap-js", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/heap-js . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2025-09-30 11:34:14 UTC · 408 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 24 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.7.1 | 2025-09-30 11:34:14 UTC |
2.6.0 | 2024-12-28 15:47:08 UTC |
2.5.0 | 2024-03-01 12:11:24 UTC |
2.3.0 | 2023-05-24 07:51:11 UTC |
2.2.0 | 2022-05-10 20:50:09 UTC |
2.1.6 | 2021-07-12 20:37:58 UTC |
2.1.5 | 2021-03-26 12:44:00 UTC |
2.1.4 | 2020-12-18 14:10:31 UTC |
2.1.3 | 2020-11-23 17:16:05 UTC |
2.1.2 | 2020-09-01 19:10:08 UTC |
2.1.1 | 2020-05-28 19:25:42 UTC |
2.1.0 | 2020-05-28 19:18:36 UTC |
2.0.0 | 2020-05-02 19:07:55 UTC |
1.5.2 | 2020-03-30 10:59:29 UTC |
1.5.1 | 2020-02-14 10:58:41 UTC |
1.5.0 | 2020-02-14 10:54:53 UTC |
1.4.1 | 2019-08-19 10:00:19 UTC |
1.4.0 | 2019-08-19 09:36:55 UTC |
1.3.0 | 2019-04-16 14:18:54 UTC |
1.2.2 | 2017-07-27 15:03:56 UTC |
Showing the 20 most recent of 24 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.7.1 |
node 18 | 2.7.1 |
node 20 | 2.7.1 |
node 22 | 2.7.1 |
node 24 | 2.7.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of heap-js?
The latest stable version of heap-js is 2.7.1, published on 2025-09-30. Verified by Vigia on 2026-11-12.
How do I install the latest version of heap-js?
Run npm install heap-js@latest. The latest stable version is 2.7.1 (verified 2026-11-12).
Is heap-js deprecated?
No. heap-js is not marked as deprecated in the registry.
Which Node.js version does heap-js require?
heap-js 2.7.1 declares this requirement: {"node":">=10.0.0"}.
Does heap-js 2.7.1 have known vulnerabilities?
No known advisories affect heap-js 2.7.1 according to the data Vigia checks.
Is heap-js still maintained?
heap-js published 0 stable releases in the last 12 months; the most recent was 408 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @react-navigation/core
- react-base16-styling
- p-pipe
- @react-stately/toast
- csv-parser
- @unrs/resolver-binding-linux-arm-gnueabihf
- rc-overflow
- nerf-dart
- rc-collapse
- @react-aria/switch
- @aws-sdk/node-http-handler
- @next/bundle-analyzer
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/heap-js) [](https://vigia.coredls.cloud/npm/heap-js) [](https://vigia.coredls.cloud/npm/heap-js)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/heap-js
GET https://vigia.coredls.cloud/v1/packages/npm/heap-js/versions/{version}