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

x/netzo/deps/semver/mod.ts>parse

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function parse
Re-export
import { parse } from "https://deno.land/x/netzo@0.5.107/deps/semver/mod.ts";

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

Parameters

version: string | SemVer

The version string to parse

Returns

SemVer

A valid SemVer