npm.io
0.0.4 • Published 2 years ago

@types/is-valid-domain

Licence
MIT
Version
0.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/is-valid-domain

Summary

This package contains type definitions for is-valid-domain (https://github.com/miguelmota/is-valid-domain).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-valid-domain.

index.d.ts

declare function isValidDomain(
    text: string,
    opts?: { subdomain?: boolean | undefined; wildcard?: boolean | undefined },
): boolean;

export = isValidDomain;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Guille.