qr-element

0.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i qr-element

Weekly Downloads

4

Version

0.0.0

License

MIT

Last publish

Collaborators

  • defunctzombie