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

std/semver/mod.ts>parseComparator

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function parseComparator
Re-export
import { parseComparator } from "https://deno.land/std@0.199.0/semver/mod.ts";

Parses a comparator string into a valid SemVerComparator.

Parameters

comparator: string

Returns

A valid SemVerComparator