Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/semver/mod.ts>parseRange

Deno standard library
Go to Latest
function parseRange
import { parseRange } from "https://deno.land/std@0.201.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