JSPM

otx_alientvautl_checkip_and_domain

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21792F
  • License ISC

Check in Node for malicious IPs and domains in OTX Alientvault

Package Exports

  • otx_alientvautl_checkip_and_domain

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (otx_alientvautl_checkip_and_domain) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

otx_alientvautl_checkIP_and_Domain

Check in Node for malicious IPs and domains in OTX Alientvault

Install

npm install otx_alientvautl_checkIP_and_Domain

How to use

const otxalient = require('otx_alientvautl_checkIP_and_Domain');
otxalient.setApiKey("<API KEY>");

// A promise will be returned
ip = "8.8.8.8";
otxalient.checkIP(ip).then(function(result){ 
        console.log(result);
    }, function(err) {
        console.log(err);
});

domain = "bandroxoma.com"
otxalient.checkDomain(domain).then(function(result){ 
        console.log(result);
    }, function(err) {
        console.log(err);
});