Skip to main content
Module

x/fluentci/deps.ts>semver.format

This is the command line interface for FluentCI.
Go to Latest
function semver.format
Re-export
import { semver } from "https://deno.land/x/fluentci@v0.13.0/deps.ts";
const { format } = semver;

Format a SemVer object into a string.

Parameters

semver: SemVer
optional
style: FormatStyle

Returns

string

Format a SemVer object into a string.

If any number is NaN then NaN will be printed.

If any number is positive or negative infinity then '∞' or '⧞' will be printed instead.

Parameters

semver: SemVer

The semantic version to format

Returns

string

The string representation of a semantic version.