Version Range Tester

The line you write in package.json is a filter. Type one below and every candidate version says whether it gets through — and which part of the range let it in or kept it out.

version range parsed

The range is rewritten as plain comparators. Point at any comparator for an explanation.

versions accepted 0 / 0
an installer picks —
pre-releases

Candidate versions

precedence order · oldest first
accepted by the range filtered out arrow keys move · click to pin

Sorted the way an installer sorts: numbers compare as numbers, so 1.2.10 is newer than 1.2.3 and beta.11 is newer than beta.2. A pre-release always ranks below the release it leads to.