Module

x/fluentci/deps.ts>semver.format

This is the command line interface for FluentCI.
Go to Latest
function semver.format
Deprecated
Deprecated

(will be removed in 0.213.0) style option is deprecated. Use format(semver) for full formatting. semver[prop] for getting a part of the version.

import { semver } from "https://dotland.deno.dev/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.

import semver.format
import { semver } from "https://dotland.deno.dev/x/fluentci@v0.13.0/deps.ts";
const { format } = semver;