Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

ksxnodeapps/qr-image-bin

Folders and files

NameName
Last commit message
Last commit date
Jan 11, 2018
Feb 5, 2018
Feb 5, 2018
Jan 16, 2018
Feb 5, 2018
Jan 15, 2018
Oct 20, 2016
Sep 8, 2017
Feb 5, 2018
Feb 5, 2018
Apr 8, 2017
May 14, 2017
Oct 24, 2017
Jan 15, 2018
May 14, 2017
Jan 15, 2018
Jan 15, 2018
Sep 5, 2018
Apr 29, 2021

Repository files navigation

QR Image Bin

Command-line for qr-image

Requirements

  • Node.js ≥ 8.9.0

Installation

Using NPM

npm install --global qr-image-bin

Using Yarn

yarn global add qr-image-bin

Usage

Usage:
  $ qr-image-bin.js [options] [input] -o [output file]
  $ qr-image-bin.js [options] -f [output format] < [input file] > [output file]

Options:
  --version                                 Show version number        [boolean]
  --output, -o                              Output filename, default to stdout
                                            if not provided             [string]
  --format, -f                              Output format, optional if --output
                                            is determined, otherwise mandatory
                                            Possible values: svg, png, pdf, eps
                                                                        [string]
  --error-correction-level, --ec-level,     One of L, M, Q, H
  --eclv, -e                                             [string] [default: "M"]
  --size                                    Image Size (when --format=png or
                                            --format=svg)               [number]
  --margin                                  White space around QR image in
                                            modules                     [number]
  --parse-url                               Try to optimize QR-code for URLs
                                                      [boolean] [default: false]
  --help                                    Show help                  [boolean]

Examples:
  $ qr-image-bin.js -o output.svg 'Hello, World!!'
  $ qr-image-bin.js -f svg 'Hello, World!!' > output.svg