0.0.2 • Published 6 years ago

get-url-by-mail v0.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

get-url-by-mail

Javascript package for getting email service's url by mail

Install

npm install --save get-url-by-mail

Usage

let getUrlByMail = require('get-url-by-mail')

getUrlByMail('toto@gmail.com'); // { success: true, url: 'https://mail.google.com/mail/u/0/' }

getUrlByMail('toto@protonmail.com'); //{ success: true, url: 'https://mail.protonmail.com/inbox' }

getUrlByMail('totoomg.com');// { success: false, msg: 'String must be mail' }