Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

node-hunterio

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hunterio

Node.js wrapper for the Hunter.io API

latest
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

Node Hunter.io

Hunter.io lets you find email addresses in seconds and connect with the people that matter for your business. View the full documentation here.

Installation:

Use npm to install the package:

$ npm install node-hunterio

Examples:

Get every email address found on the internet using a given domain name, with sources.

const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);
hunterio.searchDomain('hunter.io')
  .then((res) => {
    console.log('Domain Information: ' + res);
  });

Email Finder

Get every email address found on the internet using a given domain name, with sources.

const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);

const findEmailRequest = {
  domain: 'jimmyjohns.com',
  company: 'Jimmy Johns',
  first_name: 'Alex',
  last_name: 'Leventer',
  full_name: 'Alex Leventer',
};

hunterio.findEmail(firstEmailRequest)
  .then((res) => {
    console.log('Email Information: ' + res);
  });

Email Verification

Check if a given email address is deliverable and has been found on the internet.

const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);

const emailVerificationRequest = {
  email: 'alex@gmail.com'
};

hunterio.verifyEmail(emailVerificationRequest)
  .then((res) => {
    console.log('Email Verification Information: ' + res);
  });

Leads

Save and manage all your leads in Hunter.

const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);

hunterio.listLeads()
  .then((res) => {
    console.log('Leads: ' + res);
  });

Leads Lists

Save and manage all your leads lists in Hunter.

const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);

hunterio.listLeadsLists()
  .then((res) => {
    console.log('Leads Lists: ' + res);
  });

FAQs

Package last updated on 22 Aug 2019

Did you know?

Socket

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