Installation
npm install --save @types/is-github-url
Summary
This package contains type definitions for is-github-url (https://github.com/alferov/is-github-url).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-github-url.
index.d.ts
interface Options {
/**
* Match only URLs ending with .git
*/
strict?: boolean;
/**
* Match only valid GitHub repo URLs
*/
repository?: boolean;
}
/**
* @param url A string to be validated
*/
declare function isGithubUrl(url: string, options?: Options): boolean;
export = isGithubUrl;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Ivan Nikolić.