Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/semver/mod.ts>parseRange

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function parseRange
Re-export
import { parseRange } from "https://deno.land/std@0.192.0/semver/mod.ts";

Parses a range string into a SemVerRange object or throws a TypeError.

Parameters

range: string

The range string

Returns

A valid semantic version range