https://github.com/patte/meteor-qr-image
https://github.com/patte/meteor-qr-image
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patte/meteor-qr-image
- Owner: patte
- Created: 2015-03-09T14:13:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-09T14:16:57.000Z (about 10 years ago)
- Last Synced: 2025-02-18T03:12:13.566Z (3 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Meteor qr-image
===============This package merely wraps the npm package `qr-image` by [alexeyten](https://github.com/alexeyten/qr-image)
## Install
```
meteor add patte:meteor-qr-image
```
This installs the npm package qr-image and exports it as *QRimage*## Usage
Generate a qr-image and embedd it in a PDF with [meteor-pdfkit](https://github.com/pascoual/meteor-pdfkit/)
```
doc = new PDFDocument()
doc.text "qr-image test"
qr = QRimage.imageSync "http://asdf.com",
type: 'png'
ec_level: 'M'
size: 4
margin: 0
parse_url: true
doc.image qr, 100, 100,
height: 100
```## Documentation
You can find informations about qr-image node package here:
* node package: https://www.npmjs.com/package/qr-image## License
MIT