@fnando/email-provider-info

Find email provider service based on the email address.

Usage no npm install needed!

<script type="module">
  import fnandoEmailProviderInfo from 'https://cdn.skypack.dev/@fnando/email-provider-info';
</script>

README

email-provider-info

Find email provider service based on the email address.

Tests NPM NPM

Installation

This package is available as a NPM package. To install it, use the following command:

npm install @fnando/email-provider-info --save

If you're using Yarn (and you should):

yarn add @fnando/email-provider-info

Usage

import { getEmailProvider } from "@fnando/email-provider-info";

const { name, url } = getEmailProvider("example@gmail.com");

if (url) {
  // Do something
}

The idea behind this package is enabling something like this, where users can go to their email service provider with just one click.

Example: Show button that goes straight to Gmail

Maintainer

Contributors

Contributing

For more details about how to contribute, please read https://github.com/fnando/email-provider-info/blob/main/CONTRIBUTING.md.

License

The gem is available as open source under the terms of the MIT License. A copy of the license can be found at https://github.com/fnando/email-provider-info/blob/main/LICENSE.md.

Code of Conduct

Everyone interacting in the email-provider-info project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.