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

x/hex/src/lib/stdx/mod.ts>semver.Range

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
class semver.Range
import { semver } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/mod.ts";
const { Range } = semver;

Constructors

new
Range(range: string | Range | Comparator, options?: Options)

Properties

includePrerelease: boolean
options: Options
range: string
raw: string
set: ReadonlyArray<ReadonlyArray<Comparator>>

Methods

format(): string
intersects(range?: Range, options?: Options): boolean
parseRange(range: string): ReadonlyArray<Comparator>
test(version: string | SemVer): boolean
toString(): string