@noname-land/is-email

npm i --save @noname-land/is-email

Usage no npm install needed!

<script type="module">
  import nonameLandIsEmail from 'https://cdn.skypack.dev/@noname-land/is-email';
</script>

README

@noname-land/is-email

npm

Installation

npm i --save @noname-land/is-email

Usage

const isEmail = require('@noname-land/is-email');

console.log(isEmail('mail@example.com')); // true
console.log(isEmail('mailexamplecom')); // false
console.log(isEmail(0)); // false
console.log(isEmail({}})); // false