https://github.com/syzer/whatsmyip
Show ip adresses and qr codes and in terminal (local/public)
https://github.com/syzer/whatsmyip
cli hackathon ip-address qr-code terminal
Last synced: 4 months ago
JSON representation
Show ip adresses and qr codes and in terminal (local/public)
- Host: GitHub
- URL: https://github.com/syzer/whatsmyip
- Owner: syzer
- Created: 2018-04-10T09:35:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T14:39:48.000Z (about 7 years ago)
- Last Synced: 2025-02-18T06:37:53.305Z (4 months ago)
- Topics: cli, hackathon, ip-address, qr-code, terminal
- Language: JavaScript
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# WhatsMyIP [](https://travis-ci.org/syzer/whatsMyIp)
Prints qr codes and ip addresses of your machine and server[](https://asciinema.org/a/EAi2R38j57mTwFxdWuv2WiRmv)
# Usage
## cli
```bash
npm i -g whatsmyip
whatsMyIp
# will print qr-codes and ips
```## es2017
```js
import whatsMyIp from './whatsMyIp'
whatsMyIp()
// will console.log qr-codes and ips
```## with old modules
```js
const whatsMyIps = require('./whatsMyIp.compiled').default
whatsMyIps()
```## or with port
```js
const whatsMyIp = require('./whatsMyIp.compiled').default
whatsMyIp(3008)
```