UNPKG

@types/parse-github-url

Version:
19 lines (14 loc) 373 B
/// <reference types="node" /> import { Url } from "url"; declare namespace gh { interface Result extends Url { filepath: string | null; owner: string | null; name: string | null; repo: string | null; repository: string | null; branch: string; } } declare function gh(url: string): gh.Result | null; export = gh;