4.0.4 • Published 2 years ago

@types/github-url-to-object v4.0.4

Weekly downloads
939
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for github-url-to-object 4.0
// Project: https://github.com/zeke/github-url-to-object#readme
// Definitions by: Klaus Meinhardt <https://github.com/ajafff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 08 Jul 2021 12:02:10 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Klaus Meinhardt.

4.0.4

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

4.0.1

4 years ago

4.0.0

7 years ago