istorexit
v0.10.1
Published
Check if an IP is a Tor exit node
Downloads
144
Readme
IsTorExit
Check if an IP is a Tor exit node.
Usage
CLI
$ npm install -g istorexit
$ istorexit --help
NAME
istorexit - Check if an IP is a Tor exit node
SYNOPSIS
istorexit [options] [IP...]
OPTIONS
-h, --help
Print this message and exit
$ istorexit 1.1.1.1 1.2.1.1 1.3.1.1 1.4.1.1 1.5.1.1 104.200.20.46
1.1.1.1 false
1.2.1.1 false
1.3.1.1 false
1.4.1.1 false
1.5.1.1 false
104.200.20.46 true
NodeJs
const IsTorExit = require("istorexit");
IsTorExit("104.200.20.46").then(console.log); // true
IsTorExit("1.1.1.1").then(console.log); // false