2.1.4 • Published 3 years ago

qr-scanner-cli v2.1.4

Weekly downloads
85
License
ISC
Repository
github
Last release
3 years ago

QR Scanner CLI

Build Status Coverage Status Known Vulnerabilities Maintainability

QR Scanner CLI is a project that can resolve any QR code from an image on your desktop.

Installation

Installation is done using the npm install command:

npm i -g qr-scanner-cli

Usage

$ qrscanner <input file>

New Demo Gif

Options

Access all available and updated options passing the --help argument:

qrscanner --help

A view of the options at release v1.0.0:

--clear, -c  Clear output, just print the QR Code scan result
--clipboard, -p  copy the qr code value to your clipboard
--version Show installed version
--help Show this help

Consider that this list may be outdated, always refer to the help option described above.

Examples

$ qrscanner ./qrCode.jpg
╔══════════════════════════════════════════╗
║                                          ║
║   This message is written in a QR Code   ║
║                                          ║
╚══════════════════════════════════════════╝

$ qrscanner ./qrCode.jpg --clear
This message is written in a QR Code

Programatic Usage

You can also install this as a lib and use the programatic mode. Don't forget to read our documentation.

npm install qr-scanner-cli
// some-file.js
import { scanFromFile } from 'qr-scanner-cli'

const value = await scanFromFile('./image.jpg')
2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.6.8

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.5

3 years ago

1.6.4

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.0

5 years ago