react-native-email-validator
v0.1.1
Published
Validate your email address simply
Downloads
75
Maintainers
Keywords
Readme
react-native-email-validator 👈👈👈
Validate your email address simply
| | | | ---------------------------------- | ---------------------------------- |
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('[email protected]'); // true
validate('abc.com'); // false
Result
{
validate('[email protected]')
? 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