@igoradamenko/is-email Installation npm i --save @igoradamenko/is-email Usage import isEmail from '@igoradamenko/is-email'; console.log(isEmail('test@example.com')); // true console.log(isEmail('test')); // false