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

x/pup/deps.ts>parseVersion

Universal process manager built in Deno
Go to Latest
function parseVersion
import { parseVersion } from "https://deno.land/x/pup@1.0.0-beta.36/deps.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