ipcopy
Copy the local / public ip address into clipboard
Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with Termux.
Install
npm install -g ipcopy
Usage
➜ cip
=== Copied to Pasteboard ===
192.168.1.100
➜ pubip
=== Copied to Pasteboard ===
13.250.177.223
➜ ipcopy
? Choose a IP-address to copy: (Use arrow keys)
❯ 192.168.1.100
13.250.177.223
# set the public IP return server URL.
➜ cip -ips "cip.cc|ipinfo.io|ip.sb|ifconfig.io"
Related
- clipboardy - API for this module