1.4.2 • Published 6 months ago

@types/parse-github-repo-url v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/parse-github-repo-url

Summary

This package contains type definitions for parse-github-repo-url (https://github.com/repo-utils/parse-github-repo-url).

Details

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

index.d.ts

// Type definitions for parse-github-repo-url 1.4
// Project: https://github.com/repo-utils/parse-github-repo-url
// Definitions by: Christoph Thiede <https://github.com/LinqLover>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.0

/**
 * Parse all the stupid ways you could write a GitHub URL in your damn `package.json`.
 * @returns `version` could be `false`y, a semantic version, a commit, or a branch, etc.
 */
declare function parse(url: string): false | [user: string, repo: string, version?: string];

export = parse;

Additional Details

  • Last updated: Fri, 29 Oct 2021 22:01:27 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Christoph Thiede.

1.4.2

6 months ago

1.4.1

7 months ago

1.4.0

3 years ago