Skip to main content
Module

x/deno_slack_hooks/check_update.ts>extractVersion

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Latest
function extractVersion
import { extractVersion } from "https://deno.land/x/deno_slack_hooks@1.3.1/check_update.ts";

extractVersion takes in a URL formatted string, searches for a version, and, if version is found, returns that version.

Example input: https://deno.land/x/deno_slack_sdk@2.6.0/

Parameters

str: string

Returns

string