A simple and perfect library exclusively to validate google's gmail address. The validations in this library are developed based on the actual validations followed by gmail.
Install via NPM:
npm install google-gmail-validator
let validator = require("google-gmail-validator");
validator.validateGmail("[email protected]"); // true
validator.validateGmail("saiteja@gmail"); //false
Contributions are accepted! Check the LICENSE
file for more info.
https://github.com/velagandulasaiteja/google-gmail-validator