0.5.4 • Published 1 year ago

persmail v0.5.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Persmail

Contains a list of free email services typically used to find out if an email address is personal or not.

Install

npm i persmail

Usage

var persmail = require('persmail')

// Check of domains includes your email host
if (persmail.domains.includes('gmail.com')) {
  // is personal email
}

// Get the host from an email address
var host = persmail.host('vidar@example.com')
// host is 'example.com'

// Check if host is in domains
var sendable = persmail.has(host)

// Check complete email address, short cut for method above
if (persmail.sendable('vidar@example.com')) {
  // email address is not in the domains list
}

// Check if email is personal
var isPersonal = persmail.personal('vidar@example.com')

Created by Eldøy Projects.

MIT Licensed. Enjoy!

0.5.4

1 year ago

0.5.3

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago