Skip to main content
Module

std/semver/mod.ts>parse

Deno standard library
Go to Latest
function parse
import { parse } from "https://deno.land/std@0.190.0/semver/mod.ts";

Attempt to parse a string as a semantic version, returning either a SemVer object or null.

Parameters

version: string | SemVer | null
optional
options: Options