FixEmail
Install
You can install with npm:
npm install fixemail
You can install with yarn:
yarn add fixemail
FixEmail Syntax
You can fix error in email syntax by user.
You can use:
const fixEmail = require('fixemail');
fixEmail('email@gmail.com')
fixEmail('emai l@gmail .com')
fixEmail('emai lgmail .com')
import fixEmail from 'fixemail';
fixEmail('email@gmail.com')
fixEmail('emai l@gmail .com')
fixEmail('emai lgmail .com')
Validate Email
You can validate your email with this package.
Used package email-validator
You can use:
const { validate } = require('fixemail');
validate('email@gmail.com')
validate('emai l@gmail .com')
import { validate } from 'fixemail';
validate('email@gmail.com')
validate('emai l@gmail .com')
Todo Implement