Installation
npm install --save @types/url-regex-safe
Summary
This package contains type definitions for url-regex-safe (https://github.com/niftylettuce/url-regex-safe).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-regex-safe.
index.d.ts
type Options = Partial<{
exact: boolean;
strict: boolean;
auth: boolean;
localhost: boolean;
parens: boolean;
apostrophes: boolean;
trailingPeriod: boolean;
ipv4: boolean;
ipv6: boolean;
tlds: string[];
returnString: boolean;
}>;
declare function createUrlRegExp(options?: Options): RegExp;
export as namespace urlRegexSafe;
export = createUrlRegExp;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Stuart Long.