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.218.2/semver/mod.ts";

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

Parameters

range: string

The range set string

Returns

A valid semantic range