Get your public ip from https://uc.cn/ip
npm install get-ip-cn
yarn add get-ip-cn
const getIp = require('get-ip-cn')
(async () => {
const ip = await getIp()
console.log('My IP is: ' + ip)
})()
Get your public ip from https://uc.cn/ip
npm install get-ip-cn
yarn add get-ip-cn
const getIp = require('get-ip-cn')
(async () => {
const ip = await getIp()
console.log('My IP is: ' + ip)
})()