UNPKG

@eventstream/check

Version:

Library for checking email, url and other

26 lines (16 loc) 776 B
[![codecov](https://codecov.io/gh/eventstream/check/branch/master/graph/badge.svg)](https://codecov.io/gh/eventstream/check) [![Build Status](https://travis-ci.org/eventstream/check.svg?branch=master)](https://travis-ci.org/eventstream/check) [![Greenkeeper badge](https://badges.greenkeeper.io/eventstream/check.svg)](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)