LOCAL TOOL / WEB

npm Version Range Explainer

Supports npm’s hyphen, X, tilde, caret, comparator, logical-OR, prerelease, and whitespace intersection grammar.

Paste, type, or drag & drop a text file 16 chars · 1 lines · 16 B
Options
Runs locally in this browserPreview updates after 320 ms · No content, filenames, or secrets are sent or saved.
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.

  1. Paste, type, or drag and drop a supported text file into the input area.
  2. Choose the options that match your intended result.
  3. 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