Nonconformist Propaganda Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

my-ip

1.1.1 • Public • Published

Usage

myIP = require('my-ip');
console.dir(myIP());// return external IPv4
console.dir(myIP('IPv6'));// return external IPv6
console.dir(myIP(null,true));// return internal IPv4
console.dir(myIP('IPv6',true));// return internal IPv6

or

node my-ip
node my-ip -v6
node my-ip -i
node my-ip -v6 -i

install

npm i my-ip

Downloadsweekly downloads

4,162

version

1.1.1

license

BSD-2-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar