github-url-from-git/000755 001751 000177 0000000000 14522325161016340 5ustar00runner000000 000000 1452232516114522325161github-url-from-git/LICENSE000644 001751 000177 0000002165 14522325161017351 0ustar00runner000000 000000 1452232516114522325161 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE github-url-from-git/README.md000644 001751 000177 0000002512 14522325161017625 0ustar00runner000000 000000 1452235176214522325161# Installation > `npm install --save @types/github-url-from-git` # Summary This package contains type definitions for github-url-from-git (https://github.com/tj/node-github-url-from-git). # Details 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 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: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: none # Credits These definitions were written by [Christian Murphy](https://github.com/ChristianMurphy). github-url-from-git/index.d.ts000644 001751 000177 0000001270 14522325161020241 0ustar00runner000000 000000 1452232516114522325161declare 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; github-url-from-git/package.json000644 001751 000177 0000001524 14522325161020636 0ustar00runner000000 000000 1452235176214522325161{ "name": "@types/github-url-from-git", "version": "1.5.3", "description": "TypeScript definitions for github-url-from-git", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/github-url-from-git", "license": "MIT", "contributors": [ { "name": "Christian Murphy", "githubUsername": "ChristianMurphy", "url": "https://github.com/ChristianMurphy" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/github-url-from-git" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "d5dfc6cb396aa1809941629f39051f530f99ac632cf9e8a9a98543b2c310d1f7", "typeScriptVersion": "4.5" }