is-gmail
v1.0.0
Published
Check if an given email is gmail or GSuit email.
Downloads
179
Maintainers
Readme
is-gmail
Check if an given email is gmail or GSuit email.
Install
npm i is-gmail --save
Usage
const isGmail = require('is-gmail')
;(async function () {
console.log(await isGmail('[email protected]')) // true
console.log(await isGmail('[email protected]')) // true
console.log(await isGmail('[email protected]')) // true
console.log(await isGmail('[email protected]')) // true
console.log(await isGmail('[email protected]')) // false
console.log(await isGmail('[email protected]')) // false
console.log(await isGmail('[email protected]')) // false
})()
Test
npm test
License
MIT