Skip to main content
Module

std/semver/mod.ts>parseRange

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