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

x/denoify/src/lib/types/ModuleAddress.ts>ModuleAddress.GitHubRepo

🦕For NPM module authors that would like to support Deno but do not want to write and maintain a port.
Go to Latest
namespace ModuleAddress.GitHubRepo
import { ModuleAddress } from "https://deno.land/x/denoify@v0.12.0/src/lib/types/ModuleAddress.ts";
const { GitHubRepo } = ModuleAddress;

Functions

Match valid parse input

Input example KSXGitHub/simple-js-yaml-port-for-deno or github:KSXGitHub/simple-js-yaml-port-for-deno or KSXGitHub/simple-js-yaml-port-for-deno#3.12.1 or github:KSXGitHub/simple-js-yaml-port-for-deno#3.12.1 or

type alias ModuleAddress.GitHubRepo
import { type ModuleAddress } from "https://deno.land/x/denoify@v0.12.0/src/lib/types/ModuleAddress.ts";
const { GitHubRepo } = ModuleAddress;

e.g: "github:userOrOrg/repositoryName#branch"

definition: { type: "GITHUB REPO"; userOrOrg: string; repositoryName: string; branch?: string; }