istorexit

0.10.1 • Public • Published

IsTorExit

Check if an IP is a Tor exit node.

npm version CircleCI

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

Readme

Keywords

Package Sidebar

Install

npm i istorexit

Weekly Downloads

5

Version

0.10.1

License

MIT

Unpacked Size

5.53 kB

Total Files

6

Last publish

Collaborators

  • assafmo