Module

x/deno_slack_hooks/check_update.ts>extractDependencies

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

extractDependencies accepts the contents of a JSON file and a top-level, file-specific key within that file that corresponds to recognized project dependencies. If found, returns an array of key, value pairs that make use of the dependencies.

Parameters

json: JSONValue
key: string

Returns

[string, string][]