1.1.0 • Published 3 years ago

qr-svg v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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.