Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dxx/src/lib/$deps.ts>$semver.inc

🚀 (Deno) enhanced executor
Latest
function $semver.inc
import { $semver } from "https://deno.land/x/dxx@rf/src/lib/$deps.ts";
const { inc } = $semver;

Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.

Parameters

version: string | SemVer
release: ReleaseType
optional
optionsOrLoose: boolean | Options
optional
identifier: string

Returns

string | null