luq

local-url-qrcode

Print URL of your local IP to terminal as a QR code

Showing:

Popularity

Downloads/wk

14

Maintenance

No Maintenance Data Available

Package

Dependencies

2

Size (min+gzip)

6.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

local-url-qrcode

Print URL of your local IP to terminal as a QR code.

Why?

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.

Installation

Install via npm:

# install locally to use API
npm install local-url-qrcode --save[-dev]

# install globally to use in CLI via terminal
npm install -g local-url-qrcode

Usage

API

var urlQrcode = require("local-url-qrcode");
urlQrcode.print();

Terminal

local-url-qrcode

Port can be supplied as an optional argument:

local-url-qrcode 4000

Screenshot

Example of URL as QR code output to terminal

License

Licensed under the MIT License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100