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

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Jan 15, 2018
1 parent f98b1b1 commit 6f14615
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# QR Image Bin

Command-line for [qr-image](https://goo.gl/56XvdK)

## Requirements

* Node.js ≥ 8.9.0

## Installation

### Using NPM

```sh
npm install --global qr-image-bin
```

### Using Yarn

```sh
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
```

0 comments on commit 6f14615

Please sign in to comment.