https://github.com/nemuelw/emailrep
Node.js library for the EmailRep API
https://github.com/nemuelw/emailrep
cybersecurity email-reputation emailrep library nodejs nodejs-client nodejs-client-wrapper nodejs-library nodejs-wrapper
Last synced: 7 months ago
JSON representation
Node.js library for the EmailRep API
- Host: GitHub
- URL: https://github.com/nemuelw/emailrep
- Owner: nemuelw
- Created: 2024-03-14T02:26:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T04:19:44.000Z (almost 2 years ago)
- Last Synced: 2025-06-09T03:34:05.562Z (8 months ago)
- Topics: cybersecurity, email-reputation, emailrep, library, nodejs, nodejs-client, nodejs-client-wrapper, nodejs-library, nodejs-wrapper
- Language: JavaScript
- Homepage: https://npmjs.com/package/emailrep
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emailrep
Node.js library for the EmailRep API
## Installation
```bash
npm i emailrep
```
## Usage
Example:
```javascript
const emailrep = require('emailrep')
getEmailRep('bill@microsoft.com')
.then(result => {
if (result.success) {
console.log(result.details)
} else {
console.log(result.error))
}
})
.catch(error => console.error('Error:', error))
```
Output:
```bash
{
blacklisted: false,
malicious_activity: false,
malicious_activity_recent: false,
credentials_leaked: true,
credentials_leaked_recent: false,
data_breach: true,
first_seen: '07/01/2008',
last_seen: '01/16/2024',
domain_exists: true,
domain_reputation: 'high',
new_domain: false,
days_since_domain_creation: 12006,
suspicious_tld: false,
spam: false,
free_provider: false,
disposable: false,
deliverable: true,
accept_all: false,
valid_mx: true,
primary_mx: 'microsoft-com.mail.protection.outlook.com',
spoofable: false,
spf_strict: true,
dmarc_enforced: true,
profiles: [ 'linkedin', 'twitter' ]
}
```