Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function parseRange
import { parseRange } from "https://deno.land/std@0.220.1/semver/parse_range.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