# semver-compare

> compare two semver version strings, returning -1, 0, or 1

Latest version **1.0.0** (published 2014-11-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install semver-compare
pnpm add semver-compare
yarn add semver-compare
bun add semver-compare
```

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-11-08 |
| First published | 2014-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/semver-compare) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James Halliday |
| Maintainers | substack |
| Keywords | semver, compare, cmp, comparison, sort |

## Links

- npm: https://www.npmjs.com/package/semver-compare
- Repository: https://github.com/substack/semver-compare
- Issues: https://github.com/substack/semver-compare/issues
- npm.io page: https://npm.io/package/semver-compare

## Recent versions

- 1.0.0 (latest) — 2014-11-08

---
_Source: https://npm.io/package/semver-compare · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
