spamcop

SpamCop IP Address Lookup


Keywords
SpamCop, blacklist, dns, dnsbl
License
GPL-3.0
Install
npm install spamcop@1.0.3

Documentation

NPM

SpamCop

SpamCop IP Address Lookup in Node.js

Also check out my DroneBL and BarracudaCentral packages.

Example Lookup:

First run npm install spamcop to install the SpamCop package to your system.

var SpamCop = require('spamcop');

SpamCop.lookup('8.8.8.8', function(res) {
	console.log(res); //Returns false since 8.8.8.8 is not listed
});

SpamCop.lookup('212.227.94.244', function(res) {
	console.log(res); //Returns true since 212.227.94.244 is listed
});

This Package Is Licensed Under The GPL-3.0 License