Socket
Socket
Sign inDemoInstall

@types/sane-email-validation

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sane-email-validation

TypeScript definitions for sane-email-validation


Version published
Maintainers
1
Weekly downloads
429
decreased by-4.45%

Weekly downloads

Readme

Source

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

/**
 * 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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Forbes Lindesay.

FAQs

Last updated on 07 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc