@eventstream/check
Version:
Library for checking email, url and other
26 lines (16 loc) • 776 B
Markdown
[](https://codecov.io/gh/eventstream/check)
[](https://travis-ci.org/eventstream/check) [](https://greenkeeper.io/)
# @eventstream/check
Library for checking email, url and other
# Use Email check
for Node.js
```javascript
const isEmail = require('@eventstream/check').isEmail
isEmail('qwerty@gmail.com') // true
```
for React/Vue/Angular
```javascript
import { isEmail } from '@eventstream/check'
isEmail('qwerty@gmail.com') // true
```
[Email address from Wikipedia](https://en.wikipedia.org/wiki/Email_address)