Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/semver/mod.ts>minSatisfying

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

Returns the lowest version in the list that satisfies the range, or null if none of them do.

Type Parameters

T extends string | SemVer

Parameters

versions: ReadonlyArray<T>
range: string | Range
optional
options: Options

Returns

T | null