Skip to main content
Module

std/semver/mod.ts>rangeFormat

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function rangeFormat
Deprecated
Deprecated

(will be removed after 0.213.0) Use formatRange instead.

import { rangeFormat } from "https://deno.land/std@0.213.0/semver/mod.ts";

Formats the range into a string

Examples

=0.0.0 || <1.0.0

Parameters

The range to format

Returns

string

A string representation of the range