bsqr

1.1.1 • Public • Published

BSQR

Simple little script that runs browser-sync & displays a QR code with the external URL.

BSQR desktop to iPhone QR scan usage GIF

Installation

To run once-in-a-while use:

npx bsqr

If you'll need it a lot install it locally with:

npm install -g bsqr
# or
yarn global add bsqr

Options

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/simple

to test basic functionality works.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i bsqr

    Weekly Downloads

    0

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    3.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • cwervo