@types/github-url-from-git
Advanced tools
@@ -12,3 +12,3 @@ // Type definitions for node-github-url-from-git 1.5 | ||
| */ | ||
| extraBaseUrls?: string[]; | ||
| extraBaseUrls?: string[] | undefined; | ||
| } | ||
@@ -15,0 +15,0 @@ |
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/github-url-from-git", | ||
| "version": "1.5.0", | ||
| "version": "1.5.1", | ||
| "description": "TypeScript definitions for node-github-url-from-git", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/github-url-from-git", | ||
| "license": "MIT", | ||
@@ -14,3 +15,3 @@ "contributors": [ | ||
| "main": "", | ||
| "types": "index", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
@@ -23,4 +24,4 @@ "type": "git", | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "9ea3dbc0d9afdd5cf53ed6b6873f67406648a2af1b3a7abdf78842e7a3e88c1b", | ||
| "typeScriptVersion": "2.0" | ||
| "typesPublisherContentHash": "c49368479529766cc6e1963cf395c83095c1a71e8c245f3b355e37aa54663885", | ||
| "typeScriptVersion": "3.6" | ||
| } |
@@ -8,6 +8,42 @@ # Installation | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/github-url-from-git | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/github-url-from-git. | ||
| ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/github-url-from-git/index.d.ts) | ||
| ````ts | ||
| // Type definitions for node-github-url-from-git 1.5 | ||
| // Project: https://github.com/tj/node-github-url-from-git | ||
| // Definitions by: Christian Murphy <https://github.com/ChristianMurphy> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.0 | ||
| Additional Details | ||
| * Last updated: Tue, 24 Sep 2019 23:56:49 GMT | ||
| declare namespace githubUrlFromGit { | ||
| interface githubUrlFromGitOptions { | ||
| /** | ||
| * additional URLs that should be treated as GitHub repos | ||
| */ | ||
| extraBaseUrls?: string[] | undefined; | ||
| } | ||
| /** | ||
| * Create a regular expression to parse GitHub URLs | ||
| * | ||
| * @param opts options for regular expression generator | ||
| */ | ||
| function re(opts?: githubUrlFromGitOptions): RegExp; | ||
| } | ||
| /** | ||
| * Normalize Git URLs into GitHub URLs | ||
| * | ||
| * @param url Git URL to process | ||
| * @param opts options for URL parser | ||
| * @returns GitHub URL | ||
| */ | ||
| declare function githubUrlFromGit(url: string, opts?: githubUrlFromGit.githubUrlFromGitOptions): string; | ||
| export = githubUrlFromGit; | ||
| ```` | ||
| ### Additional Details | ||
| * Last updated: Thu, 08 Jul 2021 12:02:10 GMT | ||
| * Dependencies: none | ||
@@ -17,2 +53,2 @@ * Global values: none | ||
| # Credits | ||
| These definitions were written by Christian Murphy <https://github.com/ChristianMurphy>. | ||
| These definitions were written by [Christian Murphy](https://github.com/ChristianMurphy). |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4637
34.87%0
-100%53
211.76%