URLs of popular email providers as JS object.
npm i @brachkow/email-providers
import { getProviderByEmail } from '@brachkow/email-providers';
const provider = getProviderByEmail('[email protected]');
console.log(provider);
// {
// id: 'GMAIL',
// url: 'https://mail.google.com/', — url that leads to web interface
// label: 'GMail', — label for output into UI, for example «Open in ${label}»
// keywords: ['@gmail'],
// },
Can't find your email provider? Submit a PR or an Issue!