qr-svg
v1.1.0
Published
Lightweight SVG QR code generator in JavaScript
Downloads
1,563
Readme
qr-svg
Lightweight SVG QR code generator in JavaScript, based on @kazuhikoarase's qrcode-generator.
Installation
The qr-svg
package is distributed as a module on npm.
yarn add qr-svg
# or
npm install --save qr-svg
Usage
import {QR} from 'qr-svg'
QR('hello') // <svg ...
Developing
You need Make, node.js and yarn installed.
Clone the repository and run make
to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint
.