Skip to main content
Deno 2 is finally 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.195.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