Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itsaladin/react-native-email-validator
React Native Email Validation NPM Package
https://github.com/itsaladin/react-native-email-validator
email-validation email-validator react-native react-native-email-validator
Last synced: 29 days ago
JSON representation
React Native Email Validation NPM Package
- Host: GitHub
- URL: https://github.com/itsaladin/react-native-email-validator
- Owner: itsaladin
- License: mit
- Created: 2023-09-10T07:16:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-10T11:59:42.000Z (over 1 year ago)
- Last Synced: 2024-12-06T18:46:46.326Z (about 2 months ago)
- Topics: email-validation, email-validator, react-native, react-native-email-validator
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/react-native-email-validator
- Size: 498 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-email-validator 👈👈👈
Validate your email address simply
| ![Screenshot a](screenshots/a.png) | ![Screenshot b](screenshots/b.png) |
| ---------------------------------- | ---------------------------------- |## Installation
Using Yarn:
```sh
yarn add react-native-email-validator
```
Using NPM:
```sh
npm install react-native-email-validator
```
## Import
```js
import validate from 'react-native-email-validator';
```## Check
```js
validate('[email protected]'); // true
validate('abc.com'); // false
```## Result
```js
{
validate('[email protected]')
? console.log('Email is valid')
: console.log('Email is not valid');
}
```## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)