🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

extip

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extip

CLI and NPM package for fetching your external IP-address.

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

node-extip

A command line interface and npm package for fetching your external IP-address.

Install

npm -g install extip

Usage

The command line interface looks like this.

extip [options]

You can also require it as a module.

var extip = require('extip');

extip.fetch(
	function (ip) {
		console.log(ip);
	},
	function (errors) {
		errors.forEach(function (err) {
			console.log('ERR: ' + err);
		});
	}
);

And using a proxy ..

extip.proxy('http://10.0.0.1:8080').fetch();

Keywords

ip

FAQs

Package last updated on 31 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts