1.1.1 • Published 6 years ago
bsqr v1.1.1
BSQR
Simple little script that runs browser-sync & displays a QR code with the external URL.

Installation
To run once-in-a-while use:
npx bsqrIf you'll need it a lot install it locally with:
npm install -g bsqr
# or
yarn global add bsqrOptions
| Name | Syntax | Default | Description |
|---|---|---|---|
port | -p, --port <number> | 3000 | Port number to use |
server | -s, --server <path> | . (current directory) | Run a Local server (uses your cwd as the web root) BrowserSync Option |
noServer | -ns, --no-server | N/A | Stop the server from running, useful if you have your own BrowserSync instance & just want the QR code |
big | -b, --big | N/A (so, small) | Use a big QR code |
Testing
Run:
./index.js -s examples/simpleto test basic functionality works.