Installation
npm install --save @types/parse-github-url
Summary
This package contains type definitions for parse-github-url (https://github.com/jonschlinkert/parse-github-url).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-github-url.
index.d.ts
/// <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;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by Klaus Meinhardt.