🏷️ SemVer Checker
Paste a version and a range expression to instantly check compatibility, with a parsed breakdown and syntax cheat sheet.
Samples:
Version breakdown
Range expansion
📖 Syntax cheat sheet
| Operator | Meaning | Example | Expands to |
|---|---|---|---|
^ | Compatible with | ^1.2.3 | >=1.2.3 <2.0.0 |
~ | Approximately equivalent | ~1.2.3 | >=1.2.3 <1.3.0 |
* / x | Any version | 1.x | >=1.0.0 <2.0.0 |
- (hyphen) | Inclusive range | 1.0.0 - 2.0.0 | >=1.0.0 <=2.0.0 |
>= | Greater than or equal | >=1.0.0 | >=1.0.0 |
< | Less than | <2.0.0 | <2.0.0 |
|| | OR / union | ^1.0.0 || ^2.0.0 | matches either range |
= | Exact match | =1.2.3 | 1.2.3 |