Skip to content

ChuYang-FE/log-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log IP

Why you should install this package

Because you are 😅 lazy as fuck 😅 and don't want to remember any command lines or set alias for your terminal.

Installation

Install globally using npm

npm i log-ip -g

How to use

  1. Type ip in your ternimal (Compatible with both Windows and Unix)

    ip
  2. Done! You will get:

    {
      "ip": "113.116.xx.xx",
      "city": "Shenzhen",
      "region": "Guangdong",
      "country": "CN",
      "loc": "22.5455,114.0683",
      "timezone": "Asia/Shanghai",
      "org": "AS4134 CHINANET-BACKBONE",
    }

About

Get your IP information easily.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published