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

std/semver/mod.ts>SemVer#format

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

Parameters

optional
opts: { style?:
| "release"
| "prerelease"
| "build"
| "full"
; }
= [UNSUPPORTED]

Returns

string