import { prerelease } from "https://deno.land/std@0.188.0/semver/mod.ts";
Returns an array of prerelease components, or null if none exist.
Examples
prerelease("1.2.3-alpha.1") -> ["alpha", 1]
prerelease("1.2.3-alpha.1") -> ["alpha", 1]
import { prerelease } from "https://deno.land/std@0.188.0/semver/mod.ts";
Returns an array of prerelease components, or null if none exist.
prerelease("1.2.3-alpha.1") -> ["alpha", 1]