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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    13
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    13

Package Sidebar

Install

npm i qr-element

Weekly Downloads

13

Version

0.0.0

License

MIT

Last publish

Collaborators

  • defunctzombie