0.1.1 • Published 8 months ago

react-native-email-validator v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

react-native-email-validator 👈👈👈

Validate your email address simply

Screenshot aScreenshot b

Installation

Using Yarn:

yarn add react-native-email-validator

Using NPM:

npm install react-native-email-validator

Import

import validate from 'react-native-email-validator';

Check

validate('alauddin12340@gmail.com'); // true
validate('abc.com'); // false

Result

{
  validate('abc@gmail.com')
    ? console.log('Email is valid')
    : console.log('Email is not valid');
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library