@types/github-url-to-object
TypeScript icon, indicating that this package has built-in type declarations

4.0.4 • Public • Published

Installation

npm install --save @types/github-url-to-object

Summary

This package contains type definitions for github-url-to-object (https://github.com/zeke/github-url-to-object#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/github-url-to-object.

index.d.ts

declare namespace gh {
    interface Options {
        enterprise?: boolean | undefined;
    }
    interface Result {
        user: string;
        repo: string;
        branch: string;
        https_url: string;
        tarball_url: string;
        clone_url: string;
        travis_url: string;
        api_url: string;
        zip_url: string;
    }
}

declare function gh(url: string | { url: string }, options?: gh.Options): gh.Result | null;

export = gh;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Klaus Meinhardt.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/github-url-to-object

Weekly Downloads

245

Version

4.0.4

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types