Check if IP Address is a Tor Node Server in Node.js

npm install cloudmersive-security-api-client --save
"dependencies": {
"cloudmersive-security-api-client": "^1.2.0"
}
var CloudmersiveSecurityApiClient = require('cloudmersive-security-api-client');
var defaultClient = CloudmersiveSecurityApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
var apiInstance = new CloudmersiveSecurityApiClient.NetworkThreatDetectionApi();var value = "value_example"; // String | IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.networkThreatDetectionIsTorNode(value, callback);

--

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What I learned while building a Snake Game with React and Recoil

How to Convert Keynote ODS to JPG in Node.JS

The lifecycle of Components ReactJS

How to Fix Your Security Vulnerabilities with NPM Overrides

test this medium post

“Defend the Web” write-up (Intro 10— JavaScript code exposure and decryption)

Setup RNUI(UI Toolkit) with React Native(Expo supported)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

More from Medium

Check if IP Address is a Bot Client Threat in Node.js

Django Vs Laravel Web Development — Performance Comparison

Understand JSON Web Token

Hosting Nodejs App using your own Docker Image in Jelastic PaaS/ Yeti Cloud