npm · npm:compare-func
compare-func active
Get a compare function for array to sort
The latest stable version of compare-func is 2.0.0, published on 2020-05-15. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2020-05-15 13:35:21 UTC |
| Install | npm install compare-func@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 14:01:32 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 "compare-func", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/compare-func . 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 | dormant |
|---|---|
| Last stable release | 2020-05-15 13:35:21 UTC · 2372 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 12 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 | 2020-05-15 13:35:21 UTC |
1.3.4 | 2020-05-15 13:32:33 UTC |
1.3.3 | 2020-05-15 13:27:19 UTC |
1.3.2 | 2016-06-30 07:31:12 UTC |
1.3.1 | 2015-06-14 23:37:18 UTC |
1.3.0 | 2015-06-13 05:17:37 UTC |
1.2.0 | 2015-05-04 07:15:33 UTC |
1.1.0 | 2015-05-02 03:05:18 UTC |
1.0.2 | 2015-04-03 14:04:51 UTC |
1.0.1 | 2015-04-03 13:14:17 UTC |
1.0.0 | 2015-04-03 13:10:58 UTC |
0.0.0 | 2015-04-03 13:03:01 UTC |
Showing the 12 most recent of 12 versions. JSON
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 compare-func?
The latest stable version of compare-func is 2.0.0, published on 2020-05-15. Verified by Vigia on 2026-11-12.
How do I install the latest version of compare-func?
Run npm install compare-func@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is compare-func deprecated?
No. compare-func is not marked as deprecated in the registry.
Which Node.js version does compare-func require?
compare-func 2.0.0 does not declare a Node.js version requirement.
Does compare-func 2.0.0 have known vulnerabilities?
No known advisories affect compare-func 2.0.0 according to the data Vigia checks.
Is compare-func still maintained?
compare-func published 0 stable releases in the last 12 months; the most recent was 2372 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @sentry/cli-linux-x64
- d
- @tanstack/react-start
- lodash.difference
- @types/d3-force
- crelt
- regenerator-transform
- dataloader
- union-value
- prosemirror-transform
- @svgr/babel-plugin-transform-svg-component
- @emotion/styled
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/compare-func) [](https://vigia.coredls.cloud/npm/compare-func) [](https://vigia.coredls.cloud/npm/compare-func)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/compare-func
GET https://vigia.coredls.cloud/v1/packages/npm/compare-func/versions/{version}