Socket
Socket
Sign inDemoInstall

@fnando/email-provider-info

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fnando/email-provider-info

Find email provider service based on the email address.


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

email-provider-info

Find email provider service based on the email address.

Ruby:

Ruby Tests Gem Gem MIT License

JavaScript:

JavaScript Tests NPM NPM MIT License

Supported services:

  • AOL
  • Apple iCloud
  • BOL
  • Fastmail
  • Gmail
  • GMX
  • Hey
  • Mail.ru
  • Outlook
  • ProtonMail
  • Tutanota
  • UOL
  • Yahoo!
  • Yandex
  • Zoho

Installation

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

JavaScript

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

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

yarn add @fnando/email-provider-info

Ruby

gem install email_provider_info

Or add the following line to your project's Gemfile:

gem "email-provider-info"

Usage

JavaScript

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

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

if (url) {
  // Do something
}

Ruby

require "email_provider_info"

provider = EmailProviderInfo.call("email@gmail.com")

if provider
  # Do something
end

Motivation

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.

FAQs

Last updated on 17 Jan 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc