Skip to content

fanchangyong/get-ip-cn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
})()

About

Get your public ip from ip.cn

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published