About this utility
How to use npm Version Range Explainer
Parse npm/node-semver ranges, normalize their comparator sets, and test a concrete version locally.
What to provide
Supports npm’s hyphen, X, tilde, caret, comparator, logical-OR, prerelease, and whitespace intersection grammar.
- Paste, type, or drag and drop a supported text file into the input area.
- Choose the options that match your intended result.
- Select “Run tool” or press Ctrl/Command + Enter, then copy, download, or move the result back into the first input for another pass.
What the result means
Normalized comparator sets, minimum version, tested-version result, and plain-language interpretation.
Privacy and safety
This utility is loaded as browser code and processes your input only in this tab. OmniCastConverter has no upload endpoint and never stores your content, filenames, tokens, or secrets. Generated markup and code are shown as inert text and are never executed.
Limitations
- Registry tags such as latest and package aliases are not version ranges and are rejected. Prerelease inclusion follows node-semver rules.
Try the included example
Select “Load example” at any time to restore this tested sample.
^2.3.0 || ~3.0.0