Skip to main content
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
Deprecated
Deprecated

(will be removed in 0.214.0) Use parseRange instead.

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

Parses a comparator string into a valid Comparator.

Parameters

comparator: string

Returns

Comparator

A valid Comparator