3.0.3 • Published 7 months ago

@types/sane-email-validation v3.0.3

Weekly downloads
1,535
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/sane-email-validation

Summary

This package contains type definitions for sane-email-validation (https://github.com/scottgonzalez/sane-email-validation).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sane-email-validation.

index.d.ts

// Type definitions for sane-email-validation 3.0
// Project: https://github.com/scottgonzalez/sane-email-validation
// Definitions by: Forbes Lindesay <https://github.com/ForbesLindesay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Sane Email Validation
 */
declare function isEmail(email: string): boolean;

declare namespace isEmail {
    /**
     * An inverted check is also exposed.
     */
    function isNotEmail(email: string): boolean;
    /**
     * An ASCII only version of the validator.
     */
    function isAsciiEmail(email: string): boolean;
    /**
     * An inverted check is also exposed for the ASCII only version.
     */
    function isNotAsciiEmail(email: string): boolean;
}

export = isEmail;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:35:47 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Forbes Lindesay.

3.0.3

7 months ago

3.0.2

7 months ago

3.0.1

2 years ago

3.0.0

3 years ago

1.1.0

6 years ago