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

x/hex/src/lib/mod.ts>stdx.semver.minSatisfying

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function stdx.semver.minSatisfying
import { stdx } from "https://deno.land/x/hex@0.6.5/src/lib/mod.ts";
const { minSatisfying } = stdx.semver;

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