0.0.5 • Published 8 years ago

extip v0.0.5

Weekly downloads
5
License
-
Repository
github
Last release
8 years ago

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();
0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago