Skip to content

Lightweight SVG QR code generator in JavaScript

License

Notifications You must be signed in to change notification settings

jnordberg/qr-svg

Repository files navigation

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.

About

Lightweight SVG QR code generator in JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published