npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

email-enricher

v1.0.4

Published

A free, offline alternative to Clearbit for enriching emails. Determine if an email likely belongs to a Fortune 1000 company.

Downloads

28

Readme

Email Enricher: An Offline Clearbit Alternative

Email Enricher is a free, offline alternative to Clearbit for enriching emails. Determine if an email likely belongs to a Fortune 1000 company.

Table of Contents

Installation

To install Email Enricher, use either of the following package managers:

Using Yarn

yarn add email-enricher

Using npm

npm install email-enricher

Usage

Below are examples showing how to obtain enriched information about a company from an email address.

Import the Function

import { companyFromEmail } from "email-enricher";

Basic Usage

Example 1: Amazon

const amazonInfo = companyFromEmail("[email protected]");
console.log(amazonInfo);

The output will be:

{
  "company": "Amazon",
  "rank": 2,
  "rank_change": 0,
  "revenue": 469822,
  "profit": 33364,
  "num_of_employees": 1608000,
  "sector": "Retailing",
  "city": "Seattle",
  "state": "WA",
  "newcomer": "no",
  "ceo_founder": "no",
  "ceo_woman": "no",
  "profitable": "yes",
  "prev_rank": 2,
  "CEO": "Andrew R. Jassy",
  "Website": "www.amazon.com",
  "Ticker": "AMZN",
  "Market_Cap": 1202717
}

Example 2: Dropbox

const dropboxInfo = companyFromEmail("[email protected]");
console.log(dropboxInfo);

The output will be:

{
  "company": "Dropbox",
  "rank": 988,
  "rank_change": 0,
  "revenue": 2157.9,
  "profit": 335.8,
  "num_of_employees": 2667,
  "sector": "Technology",
  "city": "San Francisco",
  "state": "CA",
  "newcomer": "no",
  "ceo_founder": "yes",
  "ceo_woman": "no",
  "profitable": "yes",
  "prev_rank": "",
  "CEO": "Andrew W. Houston",
  "Website": "https://www.dropbox.com",
  "Ticker": "DBX",
  "Market_Cap": 8873.5
}

Example 3: Unrecognized Email

const unknownInfo = companyFromEmail("[email protected]");
console.log(unknownInfo); // Outputs null

How It Works

Email Enricher uses a data set from Kaggle that contains information about Fortune 1000 companies. The email address you provide is compared against the URLs of the companies. Note that this is not fool-proof - some companies don't use the same URL for their email domains.

Contributions

We're very open to contributions! Whether it's adding a better data set, improving the documentation, or adding new features, all forms of contribution are welcome. To get started, simply fork the repository and create a pull request. If you're new to the project and looking for a place to start, check out the open issues.