get-url-by-mail

0.0.2 • Public • Published

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' }
 

Readme

Keywords

Package Sidebar

Install

npm i get-url-by-mail

Weekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

2.58 kB

Total Files

4

Last publish

Collaborators

  • maxx21