Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function parseComparator
import { parseComparator } from "https://deno.land/std@0.199.0/semver/parse_comparator.ts";

Parses a comparator string into a valid SemVerComparator.

Parameters

comparator: string

Returns

A valid SemVerComparator