This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

spamcop

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i spamcop

Weekly Downloads

9

Version

1.0.3

License

GPL-3.0

Unpacked Size

37.7 kB

Total Files

4

Last publish

Collaborators

  • alphat3ch