Skip to main content
Module

std/semver/mod.ts>increment

Deno standard library
Go to Latest
function increment
import { increment } from "https://deno.land/std@0.165.0/semver/mod.ts";

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
options: Options
optional
identifier: string

Returns

string | null