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

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/parse-github-url

Weekly Downloads

8,768

Version

1.0.3

License

MIT

Unpacked Size

3.43 kB

Total Files

5

Last publish

Collaborators

  • types