Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/semver/mod.ts>toComparators

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

(will be removed after 0.200.0) Use comparatorFormat instead

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

Parameters

range: string | SemVerRange
optional
_options: { includePrerelease: boolean; }