Print URL of your local IP to terminal as a QR code.
I don't have static local IP. I often want to open a website on my phone during devleopment. I got fed up of looking up my IP, then typing it into the phone's browser. So I slapped this together.
Install via npm:
# install locally to use APInpm install local-url-qrcode --save[-dev]# install globally to use in CLI via terminalnpm install -g local-url-qrcode
var urlQrcode = ;urlQrcode;
Port can be supplied as an optional argument:
Licensed under the MIT License.