@types/is-valid-domain
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Guille.

/@types/is-valid-domain/

    Package Sidebar

    Install

    npm i @types/is-valid-domain

    Weekly Downloads

    4,030

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    2.93 kB

    Total Files

    5

    Last publish

    Collaborators

    • types