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

x/release_up/deps.ts>semver.coerce

🌱 Automate releases with breeze
Go to Latest
function semver.coerce
import { semver } from "https://deno.land/x/release_up@0.6.0/deps.ts";
const { coerce } = semver;

Coerces a string to semver if possible

Parameters

version: string | SemVer
optional
optionsOrLoose: boolean | Options