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

std/semver/types.ts>SemVer

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface SemVer
import { type SemVer } from "https://deno.land/std@0.199.0/semver/types.ts";

A SemVer object parsed into its constituent parts.

Properties

major: number
minor: number
patch: number
prerelease: (string | number)[]
build: string[]