@types/url-regex-safe
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.221,253ts5.7
1.0.221,253ts5.6
1.0.221,253latest
1.0.221,253ts4.5
1.0.221,253ts4.6
1.0.221,253ts4.7
1.0.221,253ts4.8
1.0.221,253ts4.9
1.0.221,253ts5.0
1.0.221,253ts5.1
1.0.221,253ts5.2
1.0.221,253ts5.3
1.0.221,253ts5.4
1.0.221,253ts5.5
1.0.221,253ts5.8
1.0.04,629ts3.2
1.0.04,629ts3.3
1.0.04,629ts3.4
1.0.04,629ts3.5
1.0.04,629ts3.6
1.0.04,629ts3.7
1.0.04,629ts3.8
1.0.04,629ts3.9
1.0.04,629ts4.0
1.0.04,629ts4.1
1.0.04,629ts4.2
1.0.04,629ts4.3
1.0.04,629ts4.4

Version History

VersionDownloads (Last 7 Days)Published
1.0.221,253
1.0.142
1.0.04,629

Package Sidebar

Install

npm i @types/url-regex-safe

Weekly Downloads

25,924

Version

1.0.2

License

MIT

Unpacked Size

3.38 kB

Total Files

5

Last publish

Collaborators

  • types