1.1.1 • Published 3 years ago
get-ip-cn v1.1.1
get-ip-cn
Get your public ip from https://uc.cn/ip
Install
With npm
npm install get-ip-cn
With yarn
yarn add get-ip-cn
Usage
const getIp = require('get-ip-cn')
(async () => {
const ip = await getIp()
console.log('My IP is: ' + ip)
})()