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

std/semver/types.ts

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

Interfaces

The shape of a valid semantic version comparator

A SemVer object parsed into its constituent parts.

Type Aliases

SemVer comparison operators.

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.

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