Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/semver/types.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.196.0/semver/types.ts";

Interfaces

A SemVer object parsed into its constituent parts.

The shape of a valid semantic version comparator

A type representing a semantic version range. The ranges consist of a nested array, which represents a set of OR comparisons while the inner array represents AND comparisons.

Type Aliases

The style to use when formatting a SemVer object into a string

SemVer comparison operators.

The possible release types are used as an operator for the increment function and as a result of the difference function.