# node-hunterio

> Node.js wrapper for the Hunter.io API

Latest version **1.5.0** (published 2019-08-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-hunterio
pnpm add node-hunterio
yarn add node-hunterio
bun add node-hunterio
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2019-08-22 |
| First published | 2019-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 33.7 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| Author | Alex Leventer |
| Maintainers | alexleventer |

## Links

- npm: https://www.npmjs.com/package/node-hunterio
- npm.io page: https://npm.io/package/node-hunterio

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.18.0

## Recent versions

- 1.5.0 (latest) — 2019-08-22
- 1.4.3 — 2019-06-08
- 1.4.2 — 2019-06-08
- 1.4.1 — 2019-01-13
- 1.4.0 — 2019-01-05
- 1.3.6 — 2019-01-05
- 1.3.4 — 2019-01-03
- 1.3.3 — 2019-01-03
- 1.3.2 — 2019-01-03
- 1.3.1 — 2019-01-03
- 1.3.0 — 2019-01-03
- 1.2.0 — 2019-01-03
- 1.1.0 — 2019-01-03
- 1.0.0 — 2019-01-03

## README

# 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](https://hunter.io/api/docs).

## Installation:
Use npm to install the package:
```shell
$ npm install node-hunterio
```

## Examples:

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

```javascript
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.

```javascript
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.

```javascript
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.

```javascript
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.

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

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

---
_Source: https://npm.io/package/node-hunterio · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
