0.0.0 • Published 11 years ago

qr-element v0.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
11 years ago

qr-element

qrcode dom element

var qr = require('qr-element');

// default canvas rendering
var qrcode = qr('foo', {
    width: 128,
    height: 128
});

qrcode // =>

interactive readme
interactive example

options

width

Width in pixels of the element

height

Height in pixels of the element

background

default #fff

Background color hex

foreground

default #000

Foreground color hex

typeNumber

correctLevel

install

npm install qr-element

Use with browserify