lurq

npm package

Home

semver-compare

semver-compare is a utility for comparing semantic version strings, returning -1, 0, or 1 based on their order. It is useful for sorting version numbers in a way that respects semantic versioning rules. This package can be integrated into applications that need to manage or display version information accurately.

lurq health score
47/100
Confidence
unproven
Weekly downloads
16,356,111
Latest version
1.0.0
Last release
Nov 8, 2014
License
MIT

Should you depend on semver-compare?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks semver-compare at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 2, 2026; this page refreshes every 24 hours. Source repository.