semver-range-resolve
Installation
SKILL.md
SemVer range resolver
semver.range-resolve on https://fittings.sh. One endpoint, deterministic compute.
Tests versions against an npm-style semver range and returns which satisfy it, the highest and lowest that do, and the range expanded into explicit comparators.
The call
GET https://fittings.sh/v1/semver/range-resolve
| Field | Type | Required | Notes |
|---|---|---|---|
range |
string | yes | npm range, e.g. ^1.2.3, ~1.2, 1.x || >=2.5.0, 1.2.3 - 2.3.4 |
version |
string | no | A single version to test |
versions |
array | no | Versions to test, as an array or a comma-separated string; at most 200 |
includePrerelease |
boolean | no | Let prereleases satisfy comparators that do not name one, default false |