# externalip **Repository Path**: mirrors_alsotang/externalip ## Basic Information - **Project Name**: externalip - **Description**: get your external ip in Node.js - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # externalip **WARNING**: perhaps https://github.com/sindresorhus/public-ip is more and more fast, but opendns does not work fine at mainland china. [![Build Status](https://travis-ci.org/alsotang/externalip.svg?branch=master)](https://travis-ci.org/alsotang/externalip) get your external ip in Node.js. Based on http://ip.cn . ## install ```bash npm i externalip ``` ## usage ```js externalip(function (err, ip) { console.log(ip); // => 8.8.8.8 }); ```